Skip to content

Instantly share code, notes, and snippets.

galton <- read.csv("http://blog.yhathq.com/static/misc/galton.csv",
header=TRUE, stringsAsFactors=FALSE)
summary(galton)
# child parent
# Min. :61.7 Min. :64.0
# 1st Qu.:66.2 1st Qu.:67.5
# Median :68.2 Median :68.5
# Mean :68.1 Mean :68.3
# 3rd Qu.:70.2 3rd Qu.:69.5
# Max. :73.7 Max. :73.0