aggregate | R Documentation |
aggregate model runs by vaccination group x vaccine strata
aggregate(
x,
what,
as_incid = FALSE,
stratum = NULL,
f = identity,
stochastic = FALSE,
...
)
x |
a transformed model run output |
what |
a character string of the cumulative trajectory to transform |
as_incid |
logical specifying whether to convert to incidence |
stratum |
an integer denoting the stratum to aggregate over, if NULL aggregation is over all strata |
f |
function to apply across parameter sets (eg. mean / median) |
stochastic |
indicates if function is being used on output of stochastic or deterministic version of the trial model, only matters if as_incid = TRUE |
... |
named arguments to pass to f |
a transformed time series / array
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.