View source: R/plot-etiology-regression.R
plot_etiology_strat | R Documentation |
This function visualizes the etiology estimates against one discrete covariate, e.g., age groups.
plot_etiology_strat(
DIR_NPLCM,
strata_weights = "empirical",
truth = NULL,
RES_NPLCM = NULL,
show_levels = 0,
is_plot = TRUE,
VERBOSE = TRUE
)
DIR_NPLCM |
File path to the folder containing posterior samples |
strata_weights |
a vector of weights that sum to one; for each pathogen
the weights specify how the j-th etiology fraction should be combined across all
levels of the discrete predictors in the data; default is |
truth |
a list of true values, e.g.,
|
RES_NPLCM |
pre-read |
show_levels |
a vector of integers less than or equal to the total number of
levels of strata; default to |
is_plot |
default to TRUE, plotting the figures; if |
VERBOSE |
default to |
plotting function
Other visualization functions:
plot.nplcm()
,
plot_BrS_panel()
,
plot_SS_panel()
,
plot_check_common_pattern()
,
plot_check_pairwise_SLORD()
,
plot_etiology_regression()
,
plot_panels()
,
plot_pie_panel()
,
plot_subwt_regression()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.