Hurrican | R Documentation |
Data for Exercises 1.38, 10.19, and Example 1.6
Hurrican
A data frame/tibble with 46 observations on four variables
a numeric vector indicating year
a numeric vector recording number of storms
a numeric vector recording number of hurricanes
a factor with levels cold
, neutral
, and
warm
National Hurricane Center.
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
T1 <- xtabs(~hurrican, data = Hurrican)
T1
barplot(T1, col = "blue", main = "Problem 1.38",
xlab = "Number of hurricanes",
ylab = "Number of seasons")
boxplot(storms ~ elnino, data = Hurrican,
col = c("blue", "yellow", "red"))
anova(lm(storms ~ elnino, data = Hurrican))
rm(T1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.