Learn R Programming

r4ss (version 1.11)

SSplotSpawnrecruit: Plot spawner-recruit curve.

Description

Plot spawner-recruit curve based on output from Stock Synthesis model.

Usage

SSplotSpawnrecruit(replist, add = FALSE, plot = TRUE, print = FALSE,
xlim = NULL, ylim = NULL, xlab = "Spawning biomass (mt)",
ylab = "Recruitment (1,000s)", plotdir = "default",
pwidth = 7, pheight = 7, punits = "in", res = 300, ptsize = 12,
cex.main = 1,  verbose = TRUE, line1 = "blue", line2 = "green",
line3 = "black", ptcol = "red", virg = TRUE, init = FALSE)

Arguments

replist
list created by SS_output
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
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
ptcol
point color
virg
add point for equilibrium conditions (x=B0,y=R0)
init
add point for initial conditions (x=B1,y=R1)

Value

    See Also

    SS_plots, SS_output