Answers to exercises

Exercise 1

What command would you use to extract just the counts of girls baptized? Try it!

#type your code in here
plot(x = arbuthnot$year, y= arbuthnot$girls)

Exercise 2

Is there an apparent trend in the number of girls baptized over the years? How would you describe it? Type your answer below.

there is a spike in baptism

Exercise 3

Now, make a plot of the proportion of boys over time. What do you see?

It varies but it ends up decreasing slightly

#code for your plot here
plot(arbuthnot$year, arbuthnot$boys/(arbuthnot$boys + arbuthnot$girls) , type = "l")