Learn R Programming

BSDA (version 1.2.0)

Eggs: Number of eggs versus amounts of feed supplement

Description

Data for Exercise 9.22

Usage

Eggs

Arguments

Format

A data frame/tibble with 12 observations on two variables

feed

amount of feed supplement

eggs

number of eggs per day for 100 chickens

References

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

Examples

Run this code
# 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