traffic {MSwM} | R Documentation |
The traffic
data contains the daily number of deaths in traffic accidents in Spain during the year 2010, the average daily temperature and
the daily sum of precipitations.
data(traffic)
A data frame with 210 observations on the following 2 variables.
Date
The date of each observation in format DD/MM/YYYY.
NDead
The number of daily traffic deaths.
Temp
The daily mean temperature in Spain (Celsius).
Prec
The daily mean precipitation in Spain (l/m2).
The data were obtained from the General Directorate of Traffic (Direccion General de Trafico) and the State Meteorological Agency of Spain (Agencia Estatal de Meterorologia de Espanya).
data=data(traffic)
ts.plot(traffic$NDead)
##See the vignette
#vignette("examples")