heart: Heart rate data from Milliken and Johnson (2009)

heartR Documentation

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.

Usage

data(heart)

Format

A data frame with 96 observations on the following 4 variables.

rate

A numeric vector describing heart rate (bpm).

time

A factor with levels t1 t2 t3 t4

drug

A factor with levels AX23 BWW9 Ctrl

subject

A factor describing which subject (in drug) that measurements were made on.

Source

Milliken, G. A., and D. E. Johnson (2008) Analysis of Messy Data: Vol. I. Designed Experiments, 2nd edition. CRC.

Examples

## Not run: 
#data(heart)
#aov(rate ~ drug * time + Error(subject%in%drug), data = heart)

## End(Not run)

asbio documentation built on May 29, 2024, 5:57 a.m.