powered by
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
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
# NOT RUN { model <- lm(actual ~ reported, data = Submarin) summary(model) plot(actual ~ reported, data = Submarin) abline(model, col = "red") rm(model) # }
Run the code above in your browser using DataLab