Skip to contents

Plot silver-standard (SS) panel

Usage

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

Arguments

slice

the index of measurement slice for SS.

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_SS

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

cexval

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

srtval

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

prior_shape

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

Value

plotting function