data2SE: Define Epidemiological Week.

Description Usage Arguments Value Examples

View source: R/utility_tools.R

Description

Find to which epidemiological week belongs a given day. Uses episem function (formula generated data).

Usage

1
data2SE(days, format = "%d/%m/%Y")

Arguments

format

date format

date

string vector with dates to be converted

Value

data.frame with the epidemiological weeks.

Examples

1
2
3
data2SE("01-02-2020",format="%d-%m-%Y")
data2SE("12-02-2008",format="%d-%m-%Y")
data2SE(c("03-04-2013","07-01-2019"),format="%d-%m-%Y")

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