jbplot_ppdist: Plot of prior and posterior distributions

Description Usage Arguments

View source: R/jabba_plots.R

Description

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

Usage

1
2
3
4
5
6
7
8
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)
)

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

add

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


zanbi/jabbamodel-JABBA documentation built on June 27, 2020, 12:23 a.m.