#loads the data set called ChickWeight #making it an object that we can use in #our workspace data(ChickWeight) #I am going to ask you to think about #what the attach() function does #as an exercise attach(ChickWeight) #creates a histogram based on default settings hist(x=weight) #creates a slightly fancier histogram hist(x=weight,breaks=15,freq=FALSE, col="blue", main="Histogram of Weights") #don't run this piece of code until instructed! detach(ChickWeight)