November 22nd, 2016

Read data with

birth <- read.table("http://anaraven.github.io/static/birth.txt", header=TRUE)

Using formulas makes life easier

plot(head ~ age, data = birth)
plot(head ~ age, data = birth, subset = sex=="F")
plot(head ~ age, data = birth, subset = sex=="M")