Learn R Programming

BSDA (version 1.01)

Iceberg: Number of icebergs sighted each month south of Newfoundland and south of the Grand Banks in 1920

Description

Data for Exercise 2.46 and 2.60

Usage

Iceberg

Arguments

Format

A data frame with 12 observations on the following 3 variables.

Month

a factor with levels Apr Aug Dec Feb Jan Jul Jun Mar May Nov Oct Sep

Newfound

a numeric vector

GrandBk

a numeric vector

Examples

Run this code
# NOT RUN {
str(Iceberg)
attach(Iceberg)
plot(GrandBk,Newfound)
abline(lm(Newfound~GrandBk))
detach(Iceberg)
# }

Run the code above in your browser using DataLab