[R] repeated measurements ANOVA

2010-09-07 Thread Walther, Alexander
Dear list, i am setting up a GLM for a repeated measurement ANOVA using the lm and ANOVA function. my design contains four factors with 5, 5, 2 and 2 (= 14) levels, respectively. the data are stored in a data.frame with six columns, one for the data themselves and the remainings for the

Re: [R] repeated measurements ANOVA

2010-09-07 Thread Stephan Kolassa
Hi Alex, I'm slightly unclear as to why you would want to restructure your nice six-column data.frame (why six? One column for the data and four for the factors should make five, shouldn't it? I guess you have a subject ID in one column?) into some monstrosity which I assume you would fill

Re: [R] repeated measurements ANOVA

2010-09-07 Thread Peng, C
You can find the layout of data for repeated measuremnt ANOVA in examples from UCLA computing page: http://www.ats.ucla.edu/stat/R/seminars/Repeated_Measures/repeated_measures.htm -- View this message in context: http://r.789695.n4.nabble.com/repeated-measurements-ANOVA-tp2530368p2530600.html