Re: [R] Using ANCOVA in R

2011-08-10 Thread Richard M. Heiberger
January, It looks like you will need an interaction effect, perhaps g <- lm( response ~ subject + group*time) Please see the ancova function in the HH package. install.packages("HH") ## if necessary library(HH) ?ancova Rich On Wed, Aug 10, 2011 at 5:15 AM, January Weiner wrote: > Hello, >

[R] Using ANCOVA in R

2011-08-10 Thread January Weiner
Hello, I have a problem with using the following design with ANCOVA in R. There are two groups (control + treatment), each with ten subjects. The subjects show a response that is monitored over time (four time points). For a single given subject, the response can be analysed with linear regressio