Learn R Programming

hcc (version 0.54)

cats: Anatomical data from domestic cats

Description

The heart and body weights of samples of male and female cats used for digitalis experiments. The cats were all adult, over 2 kg body weight.

Usage

data(cats)

Arguments

Format

A data frame with 144 observations on the following 3 variables.
Sex
sex:Factor with evels "F" and "M".
Bwt
body weight in kg.
Hwt
heart weight in g.

References

R. A. Fisher (1947) The analysis of covariance method for the relation between a part and the whole, Biometrics 3, 65-68.

Examples

Run this code
data(cats)
attach(cats)
mod<-lm(Hwt~Sex+Bwt+Sex:Bwt,data=cats)
res <- resid(mod)
hctest(Bwt, res)

Run the code above in your browser using DataLab