[R] Repeates Measures MANOVA for Time*Treatment Interactions

Jarrett Byrnes redbeard at arrr.net
Tue Nov 15 20:27:07 CET 2005


Ah, so, if, say, I sampled on the 1st, 4th, 19th, 20th, and 30th day of 
a month, I should use:
idata=data.frame(time=c(1,4,19,20,30))


On Nov 15, 2005, at 11:08 AM, Peter Dalgaard wrote:

> Peter Dalgaard <p.dalgaard at biostat.ku.dk> writes:
>
>> No... idata is the *intra*-block structure, so it should just be your
>> five times. I'm somewhat baffled that you're getting away with
>
> To clarify: Your five times, if anything. the default is a dataframe
> containing the single vector 1:p where p is the number of columns.
>
> This allows you to fit simple polynomials in time and test them for
> interaction with treatment, etc., but of course it requires that the
> times are equispaced, so if they are not, then you should use
> (say) idata=data.frame(time=c(0,3,6,9,12,18,24))
>
> <snip rest>
> -- 
>    O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
>   c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
>  (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 
> 35327918
> ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 
> 35327907
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list