rhospno2: Respiratory hospital admissions and air pollution.

rhospno2R Documentation

Respiratory hospital admissions and air pollution.

Description

Simulated data for daily measures of hospital admissions for respiratory causes count and ambient air NO_2 concentrations during 10 years.

Usage

rhospno2

Format

A data frame with 3,652 rows and 7 variables:

date

date of the observation

t

numerical indicator of date

year

year indicator

dow

day of week

temp

ambient temperature in Celsius degrees

no2

NO_2 concentration in \mug/m^3

hresp

number of hospital admissions for respiratory causes

Details

This is a synthetic dataset generated with the synthpop package, based on true data on daily number of hospital admissions for respiratory causes and ambient air NO_2 concentrations in the city of Barcelona (Spain) for years 2006-2015.

Examples

 # time series:
 par(las = 1, mfrow = c(3, 1))
 with(rhospno2, plot(date, hresp, type = "l", lwd = 0.5))
 with(rhospno2, plot(date, no2, type = "l", lwd = 0.5))
 with(rhospno2, plot(date, temp, type = "l", lwd = 0.5))

collin documentation built on Sept. 19, 2023, 5:06 p.m.