Learn R Programming

UsingR (version 2.0-7)

father.son: Pearson's data set on heights of fathers and their sons

Description

1078 measurements of a father's height and his son's height.

Usage

data(father.son)

Arguments

Format

A data frame with 1078 observations on the following 2 variables.

fheight

Father's height in inches

sheight

Son's height in inches

Details

Data set used by Pearson to investigate regression. See data set galton for data set used by Galton.

Examples

Run this code
# NOT RUN {
data(father.son)
## like cover of Freedman, Pisani, and Purves
plot(sheight ~ fheight, data=father.son,bty="l",pch=20)
abline(a=0,b=1,lty=2,lwd=2)
abline(lm(sheight ~ fheight, data=father.son),lty=1,lwd=2)
# }

Run the code above in your browser using DataLab