summarise_projections | R Documentation |
Extract summary statistics for projections
summarise_projections( x, funs = c(quantile = quantile, min = min, max = max, mean = mean, sd = sd2), ... )
x |
output from |
funs |
a list of summary functions to be applied. It is the user's responsibility to ensure that the functions are valid and can be applied to a vector. Defaults to quantile, min, max, mean and sd. |
... |
Additional arguments for funs, e.g. na.rm, probs |
If you want to use multiple functions and pass optional
arguments other than na.rm, then use sd2
rather than sd
to estimate standard deviation. This is because sd
does not
accept optional arguments.
A list of the same length as that of the supplied functions. Each element of the list is the result of applying the corresponding function across simulations for each day and each location.
Sangeeta Bhatia, Anne Cori, Pierre Nouvellet
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.