Jdpower | R Documentation |
Data for Exercise 2.14, 2.17, 2.31, 2.33, and 2.40
Jdpower
A data frame/tibble with 29 observations on three variables
a factor with levels Acura
, BMW
,
Buick
, Cadillac
, Chevrolet
, Dodge
Eagle
,
Ford
, Geo
, Honda
, Hyundai
, Infiniti
,
Jaguar
, Lexus
, Lincoln
, Mazda
, Mercedes-Benz
,
Mercury
, Mitsubishi
, Nissan
, Oldsmobile
,
Plymouth
, Pontiac
, Saab
, Saturn
, and Subaru
,
Toyota
Volkswagen
, Volvo
number of problems per 100 cars in 1994
number of problems per 100 cars in 1995
USA Today, May 25, 1995.
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
model <- lm(`1995` ~ `1994`, data = Jdpower)
summary(model)
plot(`1995` ~ `1994`, data = Jdpower)
abline(model, col = "red")
rm(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.