Learn R Programming

BSDA (version 0.1)

Sunspot: Wolfer sunspot numbers from 1700 through 2000

Description

Data for Example 1.7

Usage

Sunspot

Arguments

source

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury

Examples

Run this code
str(Sunspot)
attach(Sunspot)
plot(year,sunspots,type="l",main="Yearly Sunspots")    # Using standard plot
library(lattice)
xyplot(sunspots ~ 1700:2000, xlab = "", type = "l",main="Yearly Sunspots")
xyplot(sunspots ~ 1700:2000, xlab = "", type = "l", aspect="xy",
main="Yearly Sunspots")
detach(Sunspot)

Run the code above in your browser using DataLab