Learn R Programming

UsingR (version 2.0-7)

galton: Galton's height data for parents and children

Description

Data set from tabulated data set used by Galton in 1885 to study the relationship between a parent's height and their childrens.

Usage

data(galton)

Arguments

Format

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

child

The child's height

parent

The “midparent” height

Details

The midparent's height is an average of the fathers height and 1.08 times the mother's. In the data there are 205 different parents and 928 children. The data here is truncated at the ends for both parents and children so that it can be treated as numeric data. The data were tabulated and consequently made discrete. The father.son data set is similar data used by Galton and is continuous.

Examples

Run this code
# NOT RUN {
data(galton)
plot(galton)
## or with some jitter.
plot(jitter(child,5) ~ jitter(parent,5),galton)
## sunflowerplot shows flowers for multiple plots (Thanks MM)
sunflowerplot(galton)
# }

Run the code above in your browser using DataLab