jbplot_ppdist: Plot of prior and posterior distributions

View source: R/jabba_plots.R

jbplot_ppdistR Documentation

Plot of prior and posterior distributions

Description

Prior and posterior distributions of esimated parameters: K, r, psi (depletion) and variances

Usage

jbplot_ppdist(
  jabba,
  output.dir = getwd(),
  as.png = FALSE,
  mfrow = c(round((ncol(jabba$pars_posterior))/3 + 0.33, 0), 3),
  width = 8,
  height = 2.5 * round(ncol(jabba$pars_posterior)/3, 0),
  cex = 0.8,
  verbose = TRUE,
  addPP = TRUE
)

Arguments

jabba

output list from fit_jabba

output.dir

directory to save plots

as.png

save as png file of TRUE

mfrow

set up plot frame

width

plot width

height

plot hight

verbose

silent option

addPP

show PPMR and PPVR

add

if true don't call par() to allow construction of multiplots


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