View source: R/StockRec.plots.R
StockRec.plots | R Documentation |
The function StockRec.plots
generates plots of stock vs. recruitment in
linear and logarithmic scales.
StockRec.plots(
x,
DataName = deparse(substitute(x)),
draft = TRUE,
graphics.type = NULL,
use.color = TRUE,
start.drop = 0,
units.ssb = x$info$units.ssb,
units.rec = x$info$units.rec,
rec.model = x$info$rec.model,
draw.model = TRUE,
draw.lowess = FALSE,
draw.time = TRUE,
year.pos = 1
)
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 |
graphics.type |
a vector of graphics file types to which graphics are saved.
When |
use.color |
plots are made in grayscale 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. |
units.ssb |
A text string (e.g. |
units.rec |
A text string (e.g. |
rec.model |
Specifies the type of recruitment function to draw. Valid
values are: |
draw.model |
If |
draw.lowess |
If |
draw.time |
If |
year.pos |
An integer (= 1, 2, 3, or 4) defining the position of text relative to points. The text indicates first and last years in the time series, and applies only if draw.time=TRUE. A value of year.pos=0 turns off the text feature. |
Graphics
M Prager
E Williams
K Shertzer
R Cheshire
K Purcell
StockRec.plots(gag)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.