Skip to contents

Plot HPD interval & other stats

Usage

plot_hpd(
  proj,
  par,
  row = NULL,
  col = NULL,
  stat = "mean",
  omit.alpha0 = T,
  omit.alpha0.list = F
)

Arguments

proj

fastan::project object.

par

string, parameter name.

row

integer, row number in parameter matrix.

col

integer, column number in parameter matrix.

stat

string.

omit.alpha0

logical, TRUE if the zeros in prior$alpha$in_group should be omitted, FALSE otherwise.

omit.alpha0.list

logical, default = FALSE, TRUE if just the list of ggplots should be returned, FALSE if the gridExtra plot, (makes sense only when omit.alpha0 = TRUE, used only for the shiny app).

Value

ggplot2/gridExtra object.