powered by
Contrived repeated-measures data from O'Brien and Kaiser (1985). For details see OBrienKaiser, which is for the "wide" form of the same data.
OBrienKaiser
OBrienKaiserLong
A data frame with 240 observations on the following 6 variables.
treatment
a between-subjects factor with levels control, A, B.
control
A
B
gender
a between-subjects factor with levels F, M.
F
M.
score
the numeric response variable.
id
the subject id number.
phase
a within-subjects factor with levels pre, post, fup.
pre
post
fup
hour
a within-subjects factor with levels 1, 2, 3, 4, 5.
1
2
3
4
5
OBrienKaiser.
# NOT RUN { head(OBrienKaiserLong, 15) # first subject # }
Run the code above in your browser using DataLab