plotBoxes: plotBoxes

View source: R/Module_SUB_Plots_PatternAndFit.R

plotBoxesR Documentation

plotBoxes

Description

Function to plot one or more posterior distributions (boxplots)

Usage

plotBoxes(
  box.df,
  y.lab = "Label",
  ref.lines = list(BM = -25),
  plot.range = NULL
)

Arguments

box.df

data frame with 5 rows (values for top whisker, top of box, median, bottom of box, bottom whisker) and 1 column for each distribution. Columns labels become axis labels.

y.lab

label for the value axis

ref.lines

named list, each element is one value for a vertical ref line

plot.range

numeric vector of length 2, specifying the plotting range for the variable.


SOLV-Code/MetricsCOSEWIC documentation built on Nov. 3, 2022, 8:59 p.m.