Description Usage Arguments Author(s) See Also
View source: R/SSplotSpawnrecruit.R
Plot spawner-recruit curve based on output from Stock Synthesis model.
1 2 3 4 5 6 7 8 | SSplotSpawnrecruit(replist, subplot=1:2, add = FALSE, plot = TRUE,
print = FALSE, xlim = NULL, ylim = NULL, xlab = "Spawning biomass (mt)",
ylab = "Recruitment (1,000s)",
bioscale="default", plotdir = "default",
pwidth = 7, pheight = 7, punits = "in", res = 300, ptsize = 12,
cex.main = 1, verbose = TRUE, line1 = "blue", line2 = "green3",
line3 = "black", minyr = "default", textmindev = 0.5, ptcol = "red",
virg = TRUE, init = FALSE, forecast = FALSE)
|
replist |
list created by |
subplot |
vector of which subplots to show. 1=plot without labels, 2=plot with year labels. |
add |
add to existing plot? |
plot |
plot to active plot device? |
print |
print to PNG files? |
xlim |
optional control of x range |
ylim |
optional control of y range |
xlab |
x-axis label |
ylab |
y-axis label |
bioscale |
multiplier on spawning biomass, set to 0.5 for single-sex models |
plotdir |
directory where PNG files will be written. by default it will be the directory where the model was run. |
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 |
cex.main |
character expansion for plot titles |
verbose |
report progress to R GUI? |
line1 |
first line color |
line2 |
second line color |
line3 |
third line color |
minyr |
minimum year of recruitment deviation to show in plot |
textmindev |
minimum recruitment deviation for label to be added so only extreme devs are labeled (labels are added to first and last years as well). Default=0.7. |
ptcol |
point color |
virg |
add point for equilibrium conditions (x=B0,y=R0) |
init |
add point for initial conditions (x=B1,y=R1) |
forecast |
include forecast years in the curve? |
Ian Stewart, Ian Taylor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.