Learn R Programming

r4ss (version 1.24.0)

SSplotYield: Plot yield and surplus production.

Description

Plot yield and surplus production from Stock Synthesis output. Surplus production is based on Walters et al. (2008).

Usage

SSplotYield(replist, subplots = 1:2, add = FALSE, plot = TRUE,
  print = FALSE, labels = c("Relative depletion", "Equilibrium yield (mt)",
  "Total biomass (mt)", "Surplus production (mt)"), col = "blue", lty = 1,
  lwd = 2, cex.main = 1, pwidth = 6.5, pheight = 5, punits = "in",
  res = 300, ptsize = 10, plotdir = "default", verbose = TRUE)

Arguments

replist

list created by SS_output

subplots

vector controlling which subplots to create

add

add to existing plot? (not yet implemented)

plot

plot to active plot device?

print

print to PNG files?

labels

vector of labels for plots (titles and axis labels)

col

line color (only applied to equilbrium yield plot at this time)

lty

line type (only applied to equilbrium yield plot at this time)

lwd

line width (only applied to equilbrium yield plot at this time)

cex.main

character expansion for plot titles

pwidth

width of plot

pheight

height of plot

punits

units for PNG file

res

resolution for PNG file

ptsize

point size for PNG file

plotdir

directory where PNG files will be written. by default it will be the directory where the model was run.

verbose

report progress to R GUI?

References

Walters, Hilborn, and Christensen, 2008, Surplus production dynamics in declining and recovering fish populations. Can. J. Fish. Aquat. Sci. 65: 2536-2551

See Also

SS_plots, SS_output