jbplot_PPC: jrplot_PPC

jbplot_PPCR Documentation

jrplot_PPC

Description

Plots Posterior Predictive Checks for Chisq Goodness-of-Fit (Omnibus Discrepancy)

Usage

jbplot_PPC(
  jabba,
  joint.ppc = FALSE,
  thin.plot = TRUE,
  output.dir = getwd(),
  as.png = FALSE,
  single.plots = add,
  width = NULL,
  height = NULL,
  ylab = expression(paste("Predicted D(", chi^2, ")")),
  xlab = expression(paste("Realized D(", chi^2, ")")),
  plot.cex = 0.8,
  index = NULL,
  index.label = TRUE,
  add = FALSE,
  verbose = TRUE
)

Arguments

jabba

output list from fit_jabba

joint.ppc

FALSE/TRUE, if TRUE a joint Posterior Predictive Check (indices combined) is plotted

thin.plot

TRUE/FALSE thinning option for plotting

output.dir

directory to save plots

as.png

save as png file of TRUE

single.plots

if TRUE plot invidual fits else make multiplot

width

plot width

height

plot hight

ylab

option to change y-axis label

xlab

option to change x-axis label

plot.cex

graphic option

index.label

show index name in plot

add

if TRUE par is not called to enable manual multiplots

verbose

commentary

indices

names of indices to plot (default = "all")

Value

Bayesin p values and n observation per index


jabbamodel/JABBA documentation built on Nov. 2, 2024, 12:50 p.m.