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

Description Usage Format Details Source Examples

Description

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

Usage

1

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

1
2
3
4
5
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)

jverzani/UsingR documentation built on Aug. 3, 2020, 11:57 a.m.