SSplotSPR | R Documentation |
Plot time series of SPR, 1-SPR, the chosen SPR ratio and the phase plot.
SSplotSPR( replist, add = FALSE, plot = TRUE, print = FALSE, uncertainty = TRUE, subplots = 1:4, forecastplot = FALSE, col1 = "black", col2 = "blue", col3 = "green3", col4 = "red", sprtarg = "default", btarg = "default", labels = c("Year", "SPR", "1-SPR", "Relative fishing intensity", "Relative spawning output"), pwidth = 6.5, pheight = 5, punits = "in", res = 300, ptsize = 10, cex.main = 1, plotdir = "default", verbose = TRUE )
replist |
A list object created by |
add |
add to existing plot (not yet implemented) |
plot |
plot to active plot device? |
print |
print to PNG files? |
uncertainty |
include plots showing uncertainty? |
subplots |
vector controlling which subplots to create Numbering of subplots is as follows:
|
forecastplot |
Include forecast years in plot? |
col1 |
first color used |
col2 |
second color used |
col3 |
third color used |
col4 |
fourth color used |
sprtarg |
F/SPR proxy target. "default" chooses based on model output, where models which have SPR_report_basis = 0 or 1 specified in the starter file will use the SPR target specified in the forecast file. Models which have SPR_report_basis = 2 will use SPR at MSY for the SPR target and models which have the SPR_report_basis = 3 will use SPR at Btarget for the SPR target in these plots. Zero or negative values of sprtarg input here will cause no horizontal line to be plotted. |
btarg |
target depletion to be used in plots showing depletion. May be omitted by setting to NA. "default" chooses based on model output. |
labels |
vector of labels for plots (titles and axis labels) |
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 |
cex.main |
character expansion for plot titles |
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
SS_plots()
, SS_output()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.