Orange: Price of oranges versus size of the harvest

OrangeR Documentation

Price of oranges versus size of the harvest

Description

Data for Exercise 9.61

Usage

Orange

Format

A data frame/tibble with six observations on two variables

harvest

harvest in millions of boxes

price

average price charged by California growers for a 75-pound box of navel oranges

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples


plot(price ~ harvest, data = Orange)
model <- lm(price ~ harvest, data = Orange)
abline(model, col = "red")
summary(model)
rm(model)


BSDA documentation built on Sept. 19, 2023, 1:08 a.m.