Learn R Programming

r4ss (version 1.11)

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)"), cex.main = 1,
pwidth = 7, pheight = 7, punits = "in", res = 300, ptsize = 12,
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)
cex.main
character expansion for plot titles
pwidth
width of plot written to PNG file
pheight
height of plot written to PNG file
punits
units for PNG file
res
resolution for PNG file
ptsize
ptsize 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?

Value

    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