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 (only applied to equilibrium 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 of plots printed to files.
The default is |
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? |
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.