Skip to content

Instantly share code, notes, and snippets.

@glamp
Last active December 17, 2015 11:49
Show Gist options
  • Save glamp/5605158 to your computer and use it in GitHub Desktop.
Save glamp/5605158 to your computer and use it in GitHub Desktop.
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
head(galton)
# child parent
#1 61.7 70.5
#2 61.7 68.5
#3 61.7 65.5
#4 61.7 64.5
#5 61.7 64.0
#6 62.2 67.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment