knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
Season week conversion is used for certain outcome of interest, such as influenza.
ISO week can be 1 to 53.
Season week can be 1 to 52. ISO week 53 is season week 23.5.
library(fhitime) library(magrittr)
seasonweek_to_isoweek_c(10) seasonweek_to_isoweek_n(10) isoweek_to_seasonweek_n(1) # only has n
seasonweek_to_isoweek_n(1:52) isoweek_to_seasonweek_n(1:53)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.