Learn R Programming

r4ss (version 1.11)

SSplotSPR: Plot SPR quantities.

Description

Plot SPR quantities, including 1-SPR and phase plot.

Usage

SSplotSPR(replist, add = FALSE, plot = TRUE, print = FALSE, uncertainty
= TRUE, subplots = 1:4, col1 = "black", col2 = "blue", col3 = "green3",
col4 = "red", sprtarg = 0.4, btarg = 0.4, labels = c("Year", "SPR",
"1-SPR"), pwidth = 7, pheight = 7, punits = "in", res = 300, ptsize =
12, cex.main = 1, plotdir = "default", verbose = TRUE)

Arguments

replist
list created by SSoutput
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
col1
first color used
col2
second color used
col3
third color used
col4
fourth color used
sprtarg
F/SPR proxy target. Default=0.4.
btarg
target depletion to be used in plots showing depletion. May be omitted by setting to NA. Default=0.4.
labels
vector of labels for plots (titles and axis labels)
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
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?

Value

    See Also

    SS_plots, SS_output