Displaying 1 result from an estimated 1 matches for "repeated_measure_5".
Did you mean:
repeated_measure_1
2010 Apr 16
1
Multiple comparisons on Anova.mlm object
...; # define Treatment group as the factor defining the intra-subject model
> as.factor(Treatment)
> ## define repeated measures linear model
> # define repeated-measures data as matrix vector
> RM <- cbind(repeated_measure_1, repeated_measure_2, repeated_measure_3, repeated_measure_4, repeated_measure_5)
> mlm <- lm(RM ~ Treatment, data = RMdata.file)
> # load required package car
> library(car)
> ## Define Anova model object for repeated-measures ANOVA
> # define idata data frame
> idata <- data.frame(RM = factor(1:5))
> # define Anova object
> mlm.aov <- Anova(ml...