father.son | R Documentation |
1078 measurements of a father's height and his son's height.
data(father.son)
A data frame with 1078 observations on the following 2 variables.
Father's height in inches
Son's height in inches
Data set used by Pearson to investigate regression. See data set
galton
for data set used by Galton.
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.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.