Learn R Programming

BSDA (version 1.01)

Hurrican: Number of storms, hurricanes and El Nino effects from 1950 through 1995

Description

Data for Exercises 1.38, 10.19, and Example 1.6

Usage

Hurrican

Arguments

Format

A data frame with 46 observations on the following 5 variables.

year

a numeric vector

storms

a numeric vector

hurrican

a numeric vector

ElNino

a factor with levels cold neutral warm

code

a numeric vector

Examples

Run this code
# NOT RUN {
str(Hurrican)
attach(Hurrican)    
barplot(table(hurrican),col="blue",main="Problem 1.38",
xlab="Number of Hurricanes",ylab="Number of Seasons")
boxplot(storms~ElNino)
anova(lm(storms~ElNino))
detach(Hurrican)
# }

Run the code above in your browser using DataLab