[R] lmer error confusion

2007-05-16 Thread Rick DeShon
rce type S4 to list vector Any idea what I'm doing wrong? sessionInfo() R version 2.5.0 (2007-04-23) i386-pc-mingw32 other attached packages: lme4 Matrix lattice nlme "0.9975-13" "0.99875-1""0.15-4""3.1-80" Rick DeSho

[R] Create an AR(1) covariance matrix

2007-05-11 Thread Rick DeShon
off-diagonal is sigma*rho^3, and so forth. Any suggestions for an elegant method to flexibly create this matrix? Rick DeShon __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://

[R] How can you get N replicates of a multi-screen, multivariate time series plot?

2006-11-06 Thread Rick DeShon
icate this plot across UNITS using a trellis graph? Second, the trellis graphs I have been able to make result in plots that are too small to read. How could I loop this graphing routine to yield the graph I get above in my zoo code for each of the 100 distinct units? Thanks in advance, Rick --

[R] Extracting variance components from lmer

2006-02-20 Thread Rick DeShon
le... vc.person <- [EMAIL PROTECTED] I'm sure it's simple but I have not been able to grab the residual variance in the last matrix. I simply wish to asign the residual to a scalar variable. Any suggestions would be appreciated! Thanks! Rick DeShon -- Rick DeShon 306 Psych

[R] Fwd: Help scoring a matrix of item responses

2006-02-13 Thread Rick DeShon
Hi All. I'm new to R and trying to learn the data manipulation routines. At the moment, this is the one that has me stumped. Imagine n test takers provide responses to k multiple choice items. The result is a (n+1) x k matrix of responses where the first row of the matrix is a correct answer ke

[R] Help scoring a matrix of item responses

2006-02-13 Thread Rick DeShon
nswer key. How could you transform the raw item responses into 1s (correct response) and 0s (incorrect responses) by comparing each test takers response to the correct answer key? Any direction would be appreciated! Rick -- Rick DeShon 306 Psychology Building Department of Psychology Michigan

[R] Scatterplot color options in CAR package?

2006-02-01 Thread Rick DeShon
r of the lines and points. However, the axes and labels remain in black (i.e., the first color in the default palette). Is there a way to change the color used to when forming the axes, labels, and ticks in the Scatterplot routine? Thanks in advance for any ideas! Rick -- Rick DeShon 306 Psycholo