epiYear: Define Epidemiological Year.

View source: R/utility_tools.R

epiYearR Documentation

Define Epidemiological Year.

Description

Find to which epidemiological year belongs a given epidemiological week.

Usage

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

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

AlertaDengue/AlertTools documentation built on Nov. 27, 2024, 11:55 p.m.