| Name | R Documentation |
Data for Exercises 2.28, 9.19, and Example 2.8
Name
A data frame/tibble with 42 observations on three variables
a factor with levels Band-Aid,
Barbie, Birds Eye, Budweiser, Camel, Campbell,
Carlsberg, Coca-Cola, Colgate, Del Monte,
Fisher-Price, Gordon's, Green Giant, Guinness,
Haagen-Dazs, Heineken, Heinz, Hennessy,
Hermes, Hershey, Ivory, Jell-o, Johnnie
Walker, Kellogg, Kleenex, Kraft, Louis Vuitton,
Marlboro, Nescafe, Nestle, Nivea, Oil of Olay,
Pampers, Pepsi-Cola, Planters, Quaker, Sara
Lee, Schweppes, Smirnoff, Tampax, Winston, and
Wrigley's
value in billions of dollars
revenue in billions of dollars
Financial World.
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
plot(value ~ revenue, data = Name)
model <- lm(value ~ revenue, data = Name)
abline(model, col = "red")
cor(Name$value, Name$revenue)
summary(model)
rm(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.