epiYear: Define Epidemiological Year.

Description Usage Arguments Value Examples

View source: R/utility_tools.R

Description

Find to which epidemiological year belongs a given epidemiological week.

Usage

1
epiYear(se, cut = 41)

Arguments

se

numeric vector with epidemiological weeks to be converted

cut

epidemiological week that separates consecutive epidemiological years. Default = 41

Value

vector of epidemiological years.

Examples

1
2
epiYear(se = 201012)
epiYear(se = 201012:201522)

claudia-codeco/AlertTools documentation built on Aug. 12, 2021, 9:58 a.m.