Description Usage Arguments Details Value See Also Examples
View source: R/plot-etiology-side-by-side.R
compare the posterior distribution of population etiologies side-by-side
1 2 3 4 5 6 7 | plot_etiology_side_by_side(
DIR_list,
DIR_pathogen_displayorder_lookup,
dodge_val = 0.5,
right_panel = TRUE,
reg_ind = NULL
)
|
DIR_list |
The list of directory paths, each storing a model output. |
DIR_pathogen_displayorder_lookup |
The directory path to the .csv file that stores the display order of pathogens in the combined music sheet plot. |
dodge_val |
default is 0.5; for width and position of boxplots. |
right_panel |
default is |
reg_ind |
A vector of |
plot_etiology_side_by_side
produces what we call "music-sheet plot"
to compare estimates of population distribution of latent health status
(a.k.a population etiology, or population etiology pie). It reads in two or more
folders where Bayesian inference results are combined. We implemented a check to make sure
that pathogens from one analysis are subset of another. NB: current implementation
does not check whether the results are from the same stratum, e.g., same site.
We recommend putting information in the the folder names under comparisons.
A figure that compares posterior etiology distribution stored in two or more folders
Other visualization functions:
plot_BrS_panel()
,
plot_SS_panel()
,
plot_check_common_pattern()
,
plot_check_pairwise_SLORD()
,
plot_etiology_regression()
,
plot_etiology_strat_nested()
,
plot_etiology_strat()
,
plot_group_etiology()
,
plot_panels()
,
plot_pie_panel()
,
plot_selected_etiology()
,
plot_subwt_regression()
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.