Description Usage Arguments Value Examples
View source: R/calc_model_sum_stat.R
Function to Calculate Summary Measures from Multiple Runs of the Sutherland et al.'s Model
1 2 | calc_model_sum_stat(x, ci_level = 0.95, ci_space = "-",
round_level = 0)
|
x |
A list of multiple simulation runs of a singl table as produced by |
ci_level |
Numeric, specifies the confidence level to use. Defaults to 0.95. |
ci_space |
Character, string to use to seperate confidence intervals, defaults to "-" |
round_level |
Integer, the number of digits to which to round the summarised results. Defaults to 0 |
A list of tables for a set of summary measures. These are; mean with CI, median, 2.5 97.5
1 2 3 4 5 | ## Run multiple model simulations
model_sims <- simulate_sutherland_model(cores = 1)
## Summarise the Total effects of ending the scheme table
calc_model_sum_stat(model_sims[["Table 5 - Total Effects of ending the schools BCG scheme"]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.