Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
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-bounces at r-project.org [mailto:r-help...
m <- seq(-1,1,0.1) x1 <- c() x2 <- c() for(i in 1:length(m)){ x1[i] <- m[i] x2[i] <- m[i]^2 } dat <- data.frame(x1,x2) -----Original Message----- From: r-help-bounces at r-project.org...
(-1)^2 Or a <- -1 a^2 -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of rkevinburton at charter.net Sent: January 3, 2009 3:33 PM To...
write.table(mydata.frame, "mydata", col.names=NA, quote=F, sep="\t") will solve the problem. Deng -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of...
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: r-help-bounces at r-project.org [mailto:r-help-bounces at r...
How about this? PC[na.omit(match(P1[,1],PC[,1])),] HTH, DYH -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]On Behalf Of My Coyne Sent: February 13, 2008...
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...
Hello Keith, Based on what you have done, please try this: M<-matrix(nrow=num.rows, ncol=num.x.col*num.y.col) for( i in 1:num.rows){M[i,]<-rep(Y[i,], each=num.y.col)} Z<-Z...
Can't find what you're looking for? Try searching with Google .