powered by
Data for Exercise 9.22
Eggs
A data frame/tibble with 12 observations on two variables
amount of feed supplement
number of eggs per day for 100 chickens
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
# NOT RUN { plot(eggs ~ feed, data = Eggs) model <- lm(eggs ~ feed, data = Eggs) abline(model, col = "red") summary(model) rm(model) # }
Run the code above in your browser using DataLab