condense.pansim: Condense columns (infected, ICU, hospitalized) in a pansim...

condense.pansimR Documentation

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

Description

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

Usage

## S3 method for class '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


bbolker/McMasterPandemic documentation built on Aug. 25, 2024, 6:35 p.m.