View source: R/BSR.time.plots.R
BSR.time.plots | R Documentation |
The function BSR.time.plots
generates time-series plots of stock biomass,
spawning stock (as biomass or egg production), and recruitment. Plots are made
on absolute scales and also scaled to reference points. Plots may include
reference lines at user-specified reference points.
BSR.time.plots(
x,
DataName = deparse(substitute(x)),
draft = TRUE,
start.drop = 0,
graphics.type = NULL,
use.color = TRUE,
units.b = x$info$units.biomass,
units.ssb = x$info$units.ssb,
units.r = x$info$units.rec,
legend.pos = "topright",
from.zero = TRUE,
BSR.references = list("Bmsy", "SSBmsy", "Rmsy")
)
x |
an R list with output from the assessment models. |
DataName |
string used in plot titles. Defaults to argument |
draft |
modifies plots for use in a report. When |
start.drop |
Number of years at the start of the data to be omitted from plots, as when a model includes an initialization period. |
graphics.type |
a vector of graphics file types to which graphics are saved.
When |
use.color |
plots are made in grayscale when |
units.b |
A text string (e.g. |
units.ssb |
A text string for labeling plots of spawning-stock biomass. |
units.r |
a text string (e.g. |
legend.pos |
A text string compatible with the |
from.zero |
When |
BSR.references |
A list of three character-string names to specify reference points to appear on BSR plots, in order of biomass, spawning biomass, and recruits. Input NULL for none, e.g., BSR.references=list(NULL,"SSBmsy", NULL). |
Graphics
M. Prager
E. Williams
K. Shertzer
R. Cheshire
K. Purcell
BSR.time.plots(gag)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.