plot_etiology_strat_nested: visualize the etiology estimates for each discrete levels

Description Usage Arguments See Also

View source: R/plot-etiology-regression.R

Description

This function visualizes the etiology estimates against one discrete covariate, e.g., age groups.

Usage

1
2
3
4
5
6
plot_etiology_strat_nested(
  DIR_NPLCM,
  strata_weights = NULL,
  truth = NULL,
  RES_NPLCM = NULL
)

Arguments

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; can also specify as "empirical" to use empirical weights (fractions of subjects in each stratum)

truth

a list of true values, e.g., truth=list(allEti = a list of etiology fractions)

RES_NPLCM

pre-read res_nplcm; default to NULL.

See Also

Other visualization functions: plot_BrS_panel(), plot_SS_panel(), plot_check_common_pattern(), plot_check_pairwise_SLORD(), plot_etiology_regression(), plot_etiology_side_by_side(), plot_etiology_strat(), plot_group_etiology(), plot_panels(), plot_pie_panel(), plot_selected_etiology(), plot_subwt_regression()


oslerinhealth/baker documentation built on May 22, 2021, 12:05 p.m.