Learn R Programming

BSDA (version 1.01)

Victoria: Number of sunspots versus mean annual level of Lake Victoria Nyanza from 1902 to 1921

Description

Data for Exercise 2.98

Usage

Victoria

Arguments

Format

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

year

a numeric vector

level

a numeric vector

sunspot

a numeric vector

Examples

Run this code
# NOT RUN {
str(Victoria)
attach(Victoria)
plot(sunspot,level)
model <- lm(level~sunspot)
abline(model)
cor(sunspot,level)
model
detach(Victoria)
# }

Run the code above in your browser using DataLab