Description Usage Arguments Value See Also
Functions to plot a worldmap of available and missing data; to summarize imputation results; to calculate total (ie, raw+imputed) cases; and to generate a PDF report of the imputation activity.
1 2 3 4 5 6 7 8 | plot_missing(inc, WHOsub, agent, agent_full, save = FALSE)
summarize_imputation(db, db_imputed)
get_total_cases(db_merged, pop_2010)
imputation_report(db, db_imputed, db_merged, pop, agent, agent_full,
tab1_options = NULL, tab2_options = NULL)
|
inc |
vector of mean raw incidences |
WHOsub |
vector of WHO subregions |
agent |
agent name, abbreviated |
agent_full |
agent name, full |
save |
logical flag; should image be saved? |
db_merged |
merged data frame |
pop_2010 |
vector of population size by country (*1e5) |
db |
raw data frame |
db_imputed |
imputed data frame |
pop |
vector of population size by country (*1e5) |
tab1_options |
list of formatting options for tables of absolute numbers |
tab2_options |
list of formatting options for tables of rates |
get_total_cases
returns a data frame with WHO subregion; mean, median, 2.5th percentile, 97.5th percentile, and standard deviation of overall subregional number of cases; and subregional population size. summarize_imputation
returns a list of regional fit; global geometric mean; within-region variance; and between-region variance.plot_missing
creates a PNG file (if save = FALSE
); imputation_report
generates a PDF file.
imputation-functions
for main imputation functions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.