plotStock: Plot the Stock object parameters

Description Usage Arguments Author(s)

View source: R/OM_Plotting.R

Description

A function that plots histograms of samples from the Stock object parameters, and time-series plots of nsamp samples of time-varying parameters. Used to visually examine the parameter values and ranges entered into the Stock object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
plotStock(
  x,
  nsamp = 3,
  nsim = 500,
  nyears = 50,
  proyears = 28,
  col = "darkgray",
  breaks = 10,
  lwd = 2,
  ask = FALSE,
  incVB = TRUE,
  ...
)

Arguments

x

An object of class Stock (or of class OM)

nsamp

Number of random samples for time-series plots

nsim

Number of iterations for histograms. Ignored if x is class 'OM'

nyears

Number of historical years. Ignored if x is class 'OM'

proyears

Number of projection years. Ignored if x is class 'OM'

col

Color of histograms

breaks

Number of breaks for histograms

lwd

line width

ask

Ask before displaying next page?

incVB

Show the sampled von Bertalanffy growth curves on second page?

...

Optional additional arguments passed to plot

Author(s)

A. Hordyk


DLMtool/DLMtool documentation built on June 20, 2021, 5:20 p.m.