I am struggling a bit in the implementation and interpretation of repeated-measures ANOVA in R. Lots of tutorials are available, but most of the time they deal with rather complicated schemes, thus after several hours of reading I am more confused than ever.
We have subjects, for which we measured a certain parameter (measured value) a 3 consecutive time points. My data looks like this:
Subject Time Measured.Value
A 1 5
A 2 7
A 3 9
B 1 6
B 2 4
B 3 8
C 1 3
C 2 5
C 3 6
I want to assess if the measured values are significantly different between time points. I used the following function in R:
my.data$Subject <- factor(my.data$Subject)
my.data$Time <- factor(my.data$Time)
my.aov <- with(my.data, aov(Measured.Value ~ Time + Error(Time)))
summary(my.aov)
I am doing this right?