Learn R Programming

r4ss (version 1.11)

SSplotSelex: Plot selectivity

Description

Plot selectivity, including retention and other quantities, with additional plots for time-varying selectivity.

Usage

SSplotSelex(replist, fleets = "all", fleetnames = "default", selexlines
= 1:5, subplot = 1:10, plot = TRUE, print = FALSE, add = FALSE, labels
= c("Length (cm)", "Age (yr)", "Year", "Selectivity", "Retention"),
col1 = "red", col2 = "blue",
pwidth = 7, pheight = 7, punits = "in", res = 300, ptsize = 12,
cex.main = 1, plotdir = "default", verbose = TRUE)

Arguments

replist
list created by SS_output
fleets
optional vector to subset fleets for which to make plots
fleetnames
optional replacement for fleenames used in data file
selexlines
vector to select which lines get plotted. values are 1. Selectivity, 2. Retention, 3. Discard mortality, 4. Keep = Sel*Ret, 5. Dead = Sel*(Ret+(1-Ret)*Mort).
subplot
vector controlling which subplots to create
plot
plot to active plot device?
print
print to PNG files?
add
add to existing plot (not yet implemented)
labels
vector of labels for plots (titles and axis labels)
col1
color for female growth curve
col2
color for male growth curve
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