heart: Heart rate data from Milliken and Johnson (2009)
Description
A repeated measures demonstration dataset from Milliken and Johnson (1999). Heart rate was measured for twenty four subject at four time periods following administration of a treatment. The treatment types were two active heart drugs and a control. One treatment was assigned to each subject.
Thus each drug was administered to eight subjects.source
Milliken, G. A., and D. E. Johnson. 2008. Analysis of messy data: Vol. I. Designed experiments, 2nd edition. CRC.Examples
Run this codedata(heart)
aov(rate ~ drug * time + Error(subject
Run the code above in your browser using DataLab