Learn R Programming

BSDA (version 1.2.2)

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/tibble with 20 observations on three variables

year

year

level

mean annual level of Lake Victoria Nyanza

sunspot

number of sunspots

References

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

Examples

Run this code

plot(level ~ sunspot, data = Victoria)
model <- lm(level ~ sunspot, data = Victoria)
summary(model)
rm(model)

Run the code above in your browser using DataLab