Skip to contents

Plot bronze-standard (BrS) panel

Usage

plot_BrS_panel(
  slice,
  data_nplcm,
  model_options,
  clean_options,
  bugs.dat,
  res_nplcm,
  bg_color,
  select_latent = NULL,
  exact = TRUE,
  top_BrS = 1.3,
  cexval = 1,
  srtval = 0,
  prior_shape = "interval",
  silent = TRUE
)

Arguments

slice

the index of measurement slice for BrS.

data_nplcm

See nplcm()

model_options

See nplcm()

clean_options

See clean_perch_data()

bugs.dat

Data input for the model fitting.

res_nplcm

See nplcm_read_folder()

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" to plot all latent status information relevant to "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.

top_BrS

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

cexval

Default is 1 - size of text of the BrS percentages.

srtval

Default is 0 - the direction of the text for the BrS percentages.

prior_shape

interval or boxplot - for how to represent prior/posteriors of the TPR/FPRs of measurements.

silent

Default is TRUE to not print any warning messages; FALSE otherwise.

Value

plotting function.