Usage
epiyear_n_days(epiyear, epiweek_standard)
Arguments
- epiyear
Integer vector of epidemiological year values.
- epiweek_standard
One of "MMWR"
or "USA"
(USA MMWR epiweek, starts on Sunday) and "ISO"
(ISO
week, starts on Monday). Not case-sensitive.
Must be a single value.
Value
Integer vector of the number(s) of days in the given
epidemiological year(s).
Examples
epiyear_n_days(2023, "MMWR")
#> [1] 364
epiyear_n_days(2023, "USA")
#> [1] 364
epiyear_n_days(2026, "MMWR")
#> [1] 364
epiyear_n_days(2026, "ISO")
#> [1] 371