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

father.sonR Documentation

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)

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.

Source

Read into R by the command

read.table("http://stat-www.berkeley.edu/users/juliab/141C/pearson.dat",sep=" ")[,-1],

as mentioned by Chuck Cleland on the r-help mailing list.

Examples

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)

UsingR documentation built on March 18, 2022, 7:32 p.m.