tsibblemake_tsibble.RdThis function converts an input tibble with columns for epiyear and epiweek into a tsibble object. The tsibble has columns specifying indices for the time series as well as a date for the Monday of the epiyear/epiweek combination at each row. Users can optionally ignore the current week when generating the tsibble via the "chop" argument.
make_tsibble(df, chop = TRUE)
| df | A |
|---|---|
| chop | Logical indicating whether or not to remove the most current week (default |
A tsibble containing additional columns monday indicating the date
for the Monday of that epiweek, and yweek (a yearweek vctr class object)
that indexes the tsibble in 1 week increments.