Submarin | R Documentation |
Data for Exercises 2.16, 2.45, and 2.59
Submarin
A data frame/tibble with 16 observations on three variables
month
number of submarines reported sunk by U.S. Navy
number of submarines actually sunk by U.S. Navy
F. Mosteller, S. Fienberg, and R. Rourke, Beginning Statistics with Data Analysis (Reading, MA: Addison-Wesley, 1983).
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
model <- lm(actual ~ reported, data = Submarin)
summary(model)
plot(actual ~ reported, data = Submarin)
abline(model, col = "red")
rm(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.