Learn R Programming

BSDA (version 1.2.0)

Submarin: Number of German submarines sunk by U.S. Navy in World War II

Description

Data for Exercises 2.16, 2.45, and 2.59

Usage

Submarin

Arguments

Format

A data frame/tibble with 16 observations on three variables

month

month

reported

number of submarines reported sunk by U.S. Navy

actual

number of submarines actually sunk by U.S. Navy

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

Run this code
# 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