View source: R/Module_SUB_Plots_PatternAndFit.R
plotBoxes | R Documentation |
Function to plot one or more posterior distributions (boxplots)
plotBoxes( box.df, y.lab = "Label", ref.lines = list(BM = -25), plot.range = NULL )
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.