plot_pie_panel {baker}R Documentation

Plot etiology (pie) panel

Description

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

See nplcm_read_folder()

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 TRUE to use select_latent as exact names of causes. If you want to specify a name and plot all single or combo causes with that name, specify it to be FALSE. 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 TRUE for plotting only; set to FALSE if to get summary.

Value

plotting function.

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()


[Package baker version 1.0.3 Index]