banovaplot: Bayasian ANOVA plot

banovaplotR Documentation

Bayasian ANOVA plot

Description

A function to plot the output of the banova function included in this package.

Usage

banovaplot(
  baov,
  ylim = NULL,
  xlim = NULL,
  horizontal = TRUE,
  cols = NULL,
  labels = "default",
  xlab = "",
  ylab = "",
  pch = 16,
  lwd = 2,
  cex = 1.5,
  las = NA,
  cex.axis = 1,
  grid = TRUE,
  robust = FALSE,
  yaxs = "r",
  xaxs = "r",
  line = TRUE,
  ...
)

Arguments

baov

The dataframe representing a Bayesian Analysis of Variance.

ylim

optionally override the plot y range.

xlim

optionally override the plot x range.

horizontal

if TRUE, plot parameters across the x axis.

cols

A vector of colors used to plot the different clusters.

labels

a vector of labels. If "", labels are blank.

xlab

optionally override the plot x axis range.

ylab

optionally override the plot y axis range.

pch

points for parameter means.

lwd

line widths for intervals.

cex

point size for parameter means.

las

orientation of axis labels.

cex.axis

expansion of axis tick numbers.

grid

If TRUE a grid is added to the plot.

robust

if TRUE, robust summaries of posterior distributions are used.

yaxs

y axis edge settings.

xaxs

x axis edge settings.

line

if TRUE, add a line at x=0.

...

additional parameters are passed to internal call of bmmb::brmplot().

Examples

## Not run: 
model_height_vtl = bmmb::get_model("11_model_height_vtl_f0")
options (contrasts = c('contr.sum','contr.sum'))
baov = bmmb::banova (model_height_vtl)
bmmb::banovaplot (baov)

## End(Not run)



santiagobarreda/bmmb documentation built on June 11, 2024, 5:33 p.m.