Toaster | R Documentation |
Data for Exercise 9.36
Toaster
A data frame/tibble with 17 observations on three variables
name of toaster
Consumer Reports score
price of toaster (in dollars)
Consumer Reports (October 1994).
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
plot(cost ~ score, data = Toaster)
model <- lm(cost ~ score, data = Toaster)
summary(model)
names(summary(model))
summary(model)$r.squared
plot(model, which = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.