Condense columns (infected, ICU, hospitalized) in a pansim output

# S3 method for pansim
condense(
  object,
  add_reports = TRUE,
  diff_deaths = TRUE,
  cum_reports = FALSE,
  het_S = FALSE,
  keep_all = FALSE,
  params = attr(object, "params"),
  ...
)

Arguments

object

a pansim object

add_reports

add incidence and case reports?

diff_deaths

compute first differences of death series to get daily deaths?

cum_reports

compute cumulative reports?

het_S

compute hetS = (S/N)^(1+zeta) ?

keep_all

keep unaggregated variables in data frame as well?

params

parameters (for defining convolution kernel for reports, and zeta and N for het-S)

...

additional args