flu: Numbers of flu occurences in the 10 years period in the...

Description Usage Format Details Source Examples

Description

Data from National Institute of Hygiene reports. Each row correspond to one record from NIH institute.

Usage

1

Format

data.frame with 6384 obs. and 11 variables

region

Region for which given report was taken. A factor with 16 levels

inception.no

Number of flu occurences in given region for given report period (one or two weeks)

inception.no

Number of flu occurences in given region for given report period (one or two weeks)

inception.rate

Number of flu occurences normalized to 100k people

inception.no.0-14, inception.no.15+, inception.rate.0-14, inception.rate.15+

Absolute and normalized numbers of flu occurences calculated for age group 0-14 or 15+

date

Date of given report

date.id

Report id, there is 38 reports per year

latitude, longitude

Geographical coordinates for region

Details

Dataset used during the third edition of WZUR conference, see http://www.biecek.pl/WZUR3/wzurDane.html for more information.

Source

Reports from National Institute of Public Health - National Institute of Hygiene, see: http://www.pzh.gov.pl

More information: http://www.biecek.pl/WZUR3/wzurDane.html

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(flu)
library(ggplot2)
subflu = flu[flu$region=="Mazowieckie", ]
# linear scale
qplot(date, inception.rate,data=subflu, geom="line")+scale_y_sqrt() +theme_bw()

# polar coordinates
qplot(1 + date.id*12/38, inception.rate,data=subflu, geom="path", xlab="month")+
        scale_y_sqrt()+geom_smooth(span=0.1,se=FALSE, size=2,col="red") + 
        coord_polar() +theme_bw()

PBImisc documentation built on May 2, 2019, 4:51 a.m.