Plot etiology (pie) panel
Usage
plot_pie_panel(
model_options,
res_nplcm,
bugs.dat,
bg_color,
select_latent = NULL,
exact = TRUE,
top_pie = 1,
label_size = 1,
ref_eti = NULL,
is_plot = TRUE
)Arguments
- model_options
See
nplcm()- res_nplcm
- bugs.dat
Data input for the model fitting.
- bg_color
A list with names "BrS", "SS", "pie" to specify background colors
- select_latent
a vector of character strings representing latent status. It is used for just plotting a subset of latent status. For example, you can specify
select_latent = "HINF"- exact
Default is
TRUEto useselect_latentas exact names of causes. If you want to specify a name and plot all single or combo causes with that name, specify it to beFALSE. to plot all latent status information relevant to"HINF".- top_pie
Numerical value to specify the rightmost limit on the horizontal axis for the pie panel.
- label_size
the size of latent status labels on the right margin
- ref_eti
reference quantiles and means; a list: pEti_ref_q, pEti_ref_mean_ord
- is_plot
default to
TRUEfor plotting only; set toFALSEif to get summary.
See also
Other visualization functions:
plot.nplcm(),
plot_BrS_panel(),
plot_SS_panel(),
plot_check_common_pattern(),
plot_check_pairwise_SLORD(),
plot_etiology_regression(),
plot_etiology_strat(),
plot_panels(),
plot_subwt_regression()