PAMTEMP {PASWR2} | R Documentation |
Pamplona Temperatures
Description
The data frame PAMTEMP
has records of the temperature and precipitation for Pamplona, Spain from January 1, 1990 to December 31, 2010.
Usage
PAMTEMP
Format
A data frame with 7547 observations on the following 7 variables:
-
tmax
(maximum daily temperature in Celsius) -
tmin
(minimum daily temperature in Celsius) -
precip
(daily precipitation in mm) -
day
(day of the month) -
month
(month of the year) -
year
(year) -
tmean
(the average oftmax
andtmin
)
References
Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.
Examples
str(PAMTEMP)
levels(PAMTEMP$month)
PAMTEMP$month <- factor(PAMTEMP$month, levels = month.abb[1:12])
levels(PAMTEMP$month)
ggplot(data = PAMTEMP, aes(x = 1:dim(PAMTEMP)[1], y = tmean)) +
geom_line() +
theme_bw() +
labs(x = "", y = "Average Temperature (Celcius)")
[Package PASWR2 version 1.0.5 Index]