ts_to_incid | R Documentation |
incidence package accepts a linelist like object (list of dates) and converts them into an incid object, which is needed by projections package. To use projections package with a time-series we convert time-series object into incid object.
ts_to_incid(ts, date_col, case_col)
Sangeeta Bhatia
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.