Learn R Programming

epiCo (version 1.0.1)

epi_calendar: Get the epidemiological calendar of a consulted year.

Description

Function that returns the starting date of the epidemiological weeks in a year of interest.

Usage

epi_calendar(year, jan_days = 4)

Value

A character array with the starting dates of the epidemiological weeks of the given year.

Arguments

year

A numeric value for the year of interest.

jan_days

Number of January days that the first epidemiological week must contains.

Examples

Run this code
epi_calendar(2016)

Run the code above in your browser using DataLab