plot_pie_panel_two_folders: Plot etiology (pie) panel

Description Usage Arguments

View source: R/plot-pie-panel-two-folders.R

Description

Now only works for singleton etiologies.

Usage

1
2
plot_pie_panel_two_folders(model_options_list, res_nplcm_list, bugs.dat_list,
  index_for_order, dir_nplcm_list, top_pie = 1)

Arguments

model_options_list

See nplcm

res_nplcm_list

A list of posterior samples

bugs.dat_list

Data input for the model fitting.

index_for_order

The index of the list to be used for ordering the pathogens. Because each model output might give different ordering of pathogens (based on posterior mean).

dir_nplcm_list

A list of file paths to the folders containing posterior samples

top_pie

Numerical value to specify the rightmost limit on the horizontal axis for the pie panel.


zhenkewu/nplcm documentation built on May 4, 2019, 10:19 p.m.