Orange | R Documentation |
Data for Exercise 9.61
Orange
A data frame/tibble with six observations on two variables
harvest in millions of boxes
average price charged by California growers for a 75-pound box of navel oranges
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
plot(price ~ harvest, data = Orange)
model <- lm(price ~ harvest, data = Orange)
abline(model, col = "red")
summary(model)
rm(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.