This function builds a valid projections object from some input
simulations and dates.
build_projections(x, dates = NULL, cumulative = FALSE, order_dates = TRUE)
| x | A |
|---|---|
| dates | A vector of dates containing one value per row in |
| cumulative | A logical indicating if data represent cumulative
incidence; defaults to |
| order_dates | A logical indicating whether the dates should be ordered, from the oldest to the most recent one; `TRUE` by default. |
the project function to generate the 'projections'
objects.