SSplotYield | R Documentation |
Plot yield and surplus production from Stock Synthesis output. Surplus production is based on Walters et al. (2008).
SSplotYield(
replist,
subplots = 1:4,
refpoints = c("MSY", "Btgt", "SPR", "Current"),
add = FALSE,
plot = TRUE,
print = FALSE,
labels = c("Fraction unfished", "Equilibrium yield (mt)", "Total biomass (mt)",
"Surplus production (mt)", "Yield per recruit (kg)"),
col = "blue",
col2 = "black",
lty = 1,
lwd = 2,
cex.main = 1,
pwidth = 6.5,
pheight = 5,
punits = "in",
res = 300,
ptsize = 10,
plotdir = "default",
verbose = TRUE
)
replist |
A list object created by |
subplots |
vector controlling which subplots to create Numbering of subplots is as follows:
|
refpoints |
character vector of which reference points to display in subplot 2, from the options 'MSY', 'Btgt', and 'SPR'. |
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 for equilibrium plot |
col2 |
line color for dynamic surplus production plot |
lty |
line type (only applied to equilibrium yield plot at this time) |
lwd |
Line width for plot elements. |
cex.main |
Character expansion for plot titles.
The default is |
pwidth |
Default width of plots printed to files in units of
|
pheight |
Height of plots printed to png files in units of |
punits |
Units for |
res |
Resolution of plots printed to files.
The default is |
ptsize |
Point size for plotted text in plots printed to files (see
|
plotdir |
Directory where PNG files will be written. |
verbose |
A logical value specifying if output should be printed to the screen. |
Ian Stewart, Ian Taylor
Walters, Hilborn, and Christensen, 2008, Surplus production dynamics in declining and recovering fish populations. Can. J. Fish. Aquat. Sci. 65: 2536-2551
SS_plots()
, SS_output()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.