Skip to content

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.

8 results for “from:Yinghai Deng”

heatmap.2 and three colours for specific rangesþ
Yinghai Deng · Jan 7, 2009 · r-help

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...

loop
Yinghai Deng · Mar 5, 2008 · 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...

Power functions?
Yinghai Deng · Jan 3, 2009 · r-help

(-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
Yinghai Deng · Aug 10, 2007 · r-help

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...

reading csv files - SYLK : file format not valid
Yinghai Deng · Nov 10, 2007 · r-help

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 to handle Which on two matrices that do not have samenumber of rows
Yinghai Deng · Feb 13, 2008 · r-help

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...

How to compute p-Values
Yinghai Deng · Jan 14, 2009 · r-help

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...

addition of matrix
Yinghai Deng · Feb 19, 2008 · r-help

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 .