plot_etiology_strat: 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
plot_etiology_strat(DIR_NPLCM, strata_weights = NULL, truth = 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

truth

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

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_nested(), 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.