Re: [R] How to compute p-Values

2009-01-14 Thread YH Deng
I think what you need is just count. For example, if you want to know the p value of the mean bigger than 0 and you have 5 such cases in your draws then the p value is 5/1000=0.005, right? HTH YHDENG -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.or

Re: [R] heatmap.2 and three colours for specific ran gesþ

2009-01-07 Thread YH Deng
a<-matrix(rnorm(36,1,3),6,6) ifelse(a<(-1),1,ifelse(a<=1&a>=-1,2,3)) heatmap.2(a, col=rev(redgreen(3))) HTH -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Daren Tan Sent: January 6, 2009 11:53 PM To: r-help@r-project.org Subject: [

Re: [R] Power functions?

2009-01-03 Thread YH Deng
(-1)^2 Or a <- -1 a^2 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of rkevinbur...@charter.net Sent: January 3, 2009 3:33 PM To: r-help@r-project.org; r-h...@stat.math.ethz.ch Subject: [R] Power functions? I had a question about the

Re: [R] reading csv files - SYLK : file format not valid

2007-11-10 Thread YH DENG
Check your csv file if the first field is "ID". If so then change it to something else or change it to "id". Deng -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Green Sent: Saturday, November 10, 2007 7:32 PM To: r-help@r-project.org Subject: [R] read