husbands_wives | R Documentation |
The Great Britain Office of Population Census and Surveys once collected data on a random sample of 170 married couples in Britain, recording the age (in years) and heights of the husbands and wives.
husbands_wives
A data frame with 199 observations on the following 8 variables.
Age of husband.
Age of wife.
Height of husband (mm).
Height of wife (mm).
Age of husband at the time they married.
Age of wife at the time they married.
Number of years married.
Hand DJ. 1994. A handbook of small data sets. Chapman & Hall/CRC.
library(ggplot2)
ggplot(husbands_wives, aes(x = ht_husband, y = ht_wife)) +
geom_point()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.