univariate_density {fishboot}R Documentation

Univariate kernel density estimate plot of VBGF parameter from bootstrapping results

Description

This function plots a set of vertical plots with kernel density distributions for univariate posterior distributions of the VBGF growth parameters L_{inf}, K, and Phi’. The 95 interval and the most likely optimum fit estimate are shown for each parameter.

Usage

univariate_density(
  res,
  CI = 95,
  use_hist = FALSE,
  nbreaks = 10,
  mar = c(1.5, 2, 2, 0),
  oma = c(1.5, 0, 0, 0.5),
  mgp = c(2, 0.5, 0),
  tcl = -0.25,
  cex = 1,
  ...
)

Arguments

res

Object of class lfqBoot.

CI

numeric. Confidence interval in % (default: 95).

use_hist

logical Plot histogram in addition to smoothed kernel density.

nbreaks

numeric vector specifying the number of breaks in the histogram.

mar, oma, mgp, tcl, cex, ...

Additional arguments passed to par.

Details

This function used the function kde to obtain kernel density estimates for the VBGF growth parameters L_{inf}, K, and Phi’. The 95 posterior distribution) and the most likely optimum fit estimate (i.e., the mode of each posterior distribution) are then plotted inside each vertical plot. The input used for plotting is usually the result of a bootstrapped growth analysis (i.e. a lfqBoot object generated by fishboot functions such as ELEFAN_SA_boot, ELEFAN_GA_boot, grotag_boot, or grolenage_boot).

Value

This function returns just the described plot.

Examples

data(alba_boot)
univariate_density(alba_boot)

[Package fishboot version 1.0.2 Index]