[R] Indexing column of a matrix with infix $

2004-05-08 Thread chris1
I'm using 1.9.0 on Windoze 2k and I created a numeric matrix and used colnames() to give it some column names, but if I try to select a column using matrixname$validname I get a null return but if I use matrixname[,4] it works fine. Looking at the help I think this is because a matrix is not a rec

Re[2]: [R] simple repeated measures model: dumb user baffled!

2004-04-29 Thread chris1
On Thursday, April 29, 2004, 10:17:46 AM, Christophe Pallier wrote: CP> Hi, CP> Here is how I would go: CP> suj <- gl(40,4) CP> order <- gl(4,40) CP> time <- gl(4,1,160) CP> cond <- factor(c(rep(c('N','E','E','N'),10), CP> rep(c('N','E','N','E'),10), CP> rep(c('E','N','E','N'),