Displaying 20 results from an estimated 400 matches similar to: "about "intersection set" and "union set""
2006 Jun 06
2
about string
Hello sir:
There are 2 questions about string.
1 How to calculate the width of a string? e.g string "abc"'s width is 3;
2 How can I get the "substring" in such kind of condition:
"f:\\JPCS_signal.txt" "f:\\PC1_signal.txt" "f:\\PC2_signal.txt"
What I wanna get is "JPCS" "PC1" "PC2".How can I achieve them by R
2006 Apr 13
1
about McNemar
Hello sir: How can I perform McNemar (paired chi square test) by using R?
Thanks!
------------------------------
*******************************************
Xin Meng
Capitalbio Corporation
National Engineering Research Center
for Beijing Biochip Technology
BioPharma-informatics & Software Dept.
Research Engineer
Tel: +86-10-80715888/80726868-6438
Fax: +86-10-80726790
Email??xmeng
2006 Sep 27
3
exact 95% confidence intervals
Hello sir:
As to the 2*2 table format for reporting results comparing a new test to true diagnosis,when I got the sensitivity and specificity,how can I calculate the exact 95% confidence intervals (based on the binomial distribution) for sensitivity and specificity via R?
Thanks a lot!
My best!
------------------------------
*******************************************
Xin Meng
Capitalbio
2006 Sep 20
1
about BATCH and parameter file
Hello sir:
I use Rcmd to execute R code,such as :
"C:\\Program Files\\R\\R-2.2.1\\bin\\Rcmd.exe" BATCH globalLowessRun.r
globalLowessRun.r is a R function written by myself.
But I wanna make the "globalLowessRun.r" changeable,such as globalLinearRun.r or gridbasedLowessRun.r,and so on.
How can I achieve this goal via Rcmd.exe BATCH ?
The only finding is:
Rcmd BATCH
2008 Jul 24
3
how to export ".xls" file with colorful cells?
Hi all:
I wanna know how to expoort ".xls" file. And in the exported ".xls" file, how to set different cells with different color?
Thanks a lot!
My best.
------------------------------
*******************************************
Xin Meng
Capitalbio Corporation
National Engineering Research Center
for Beijing Biochip Technology
BioPharma-informatics & Software
2005 Nov 24
1
a question
Hello sir:
Here's a question:
x<-1:5
y<-c(2,1,4)
I wanna get the different elements between x & y,i.e. 3,5.
How can I get the result(3,5) via R function?
Thanks a lot for your help.
My best!
------------------------------
*******************************************
Xin Meng
Capitalbio Corporation
National Engineering Research Center
for Beijing Biochip Technology
2005 Apr 04
1
How to extrct F value
Hello sir:
Here's the result of repeated measures ANOVA.
$"Error: Within"
Df Sum Sq Mean Sq F value Pr(>F)
t 2 524177 262089 258.24 1.514e-06 ***
Residuals 6 6089 1015
---
Signif. codes: 0 `***' 0.001 `**' 0.01 `*' 0.05 `.' 0.1 ` ' 1
My question is: How to extract the F value only?
If the result is a
2005 May 18
1
covariance analysis by using R
Hello sir:
Here's a question on covariance analysis which needs your help.
There're 3 experiments,and x refers to control while y refers to experimental result.
The purpose is to compare the "y" values across the 3 experiments.
experiment_1:
x:0.1 0.2 0.3 0.4 0.5
y:0.5 0.6 0.6 0.7 0.9
experiment_2:
x:1 2 3 4 5
y:3 4 6.5 7.5 11
experiment_3:
x:10 20 30 40 50
y:18 35 75 90
2005 Aug 30
2
about "pnorm"
As to the function"pnorm",the default degree of freedom(df) is infinite.
I wanna know how to set the df as I want.
Help on pnorm doesn't have df setting.The only choice are:"mean, sd, lower.tail, log.p",but no df.
For instance:
sample size=6
df=6-1=5
t value=9.143
I wanna to the corresponding p value by using function "pnorm".
How can I do it?
Thanks a lot
2004 Sep 08
3
Thanks
Thanks a lot for your timely rely.
I still wonder whether I can use "a":"d" instead of 1:4.
I remember I fulfill it successfully according to the guidance of some materials on R,but fail to find it now.
Thanks again!
______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
2006 Feb 23
4
read file of EXCEL format
Hello sir:
How can I read data file of EXCEL format from disk("d:\\data.XLS" for example)?
I can only read data file of .txt format
read.delim("d:\\data.txt",header=T,as.is=T),but only EXCEL format is available at present.
Thanks a lot
2004 Sep 08
5
a little question about R
Hello,sir: Here's a little question about R which needs your help.Thanks in advance.
If I wanna make a sequence just like a,b,c,d (In other words,a vector consists of 4 characters :a,b,c,d ).How can I do it in a shortcut manner? Yes,I can do it as following: c("a","b","c","d") and the result is:[1] "a" "b" "c"
2007 Mar 20
1
about hcluster
Hi all:
As to hcluster,how can I control the cluster is performed according to rows(genes for instance) or columns(samples for instance)?
I can't find the parameters for it.
Thanks a lot!
My best!
2007 May 18
1
add info
hi all:
If there's a dataframe:
x y
1 a
2 b
3 c
The info of the data such as :
name
date
author
The result I want is:
name
date
author
x y
1 a
2 b
3 c
In other words,I wanna add the info above the dataframe.
How can I do it ?
Thanks a lot!
My best
2006 Dec 18
3
plot
Hello sir:
a data with 2 columns:
id x
a 1
b 2
c 3
I wanna get such kind of plot:
x: a b c
y:1 2 3
But the plot command doesn't permit string character as x.
How can I get it ?
Thanks a lot !
My best
2004 Dec 21
1
about colnames
Try
colnames(df)[4:6] <- c("x","y","z")
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of
xmeng at capitalbio.com
Sent: 21 December 2004 09:45
To: r-help at stat.math.ethz.ch
Subject: [R] about colnames
Hello sir:
If there's a data frame(with name "df"):
a b c d e f
2009 Mar 09
3
[Bug 20547] New: nouveau drm doesn't build
http://bugs.freedesktop.org/show_bug.cgi?id=20547
Summary: nouveau drm doesn't build
Product: xorg
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at lists.freedesktop.org
ReportedBy: dliana at
2009 Apr 24
0
Calculate number of elements in a MECE intersection of x vectors where the total number of vectors is n
Is there a function, or code snippet that anyone is aware of that will
give the number of elements in a MECE intersection of x vectors where
the total number of vectors is n?
I have several vectors, A, B, C, ....,n of varying length. I am trying
to figure out a way to systematically calculate the number of MECE
elements in all possible combinations of 2 vectors only, then do the
same
2008 Dec 03
1
intersection of two matrices(updated)
Hi,
I have two matrices as follow:
matrix A =
a=matrix(c(c("abc","abc","bcd","bcd","bce","bce"),c("a1","d2","d1","d2","a1","a2")),6,2)
and matrix B which contains pair of values :
b=matrix(c(c("a1","a1"),c("a2","d2")),2,2)
In short,
2012 Feb 02
3
How to get intersection of multiple vectors?
v1<-c("a","b","c","d")
v2<-c("a","b","e")
v3<-c("a","f","g")
I want to get the intersection of v1,v2,v3,ie "a"
How can I do then?
What I know is only for 2 vectors via "intersect" function,but don't know how to deal with multiple vectors.
Many thanks