Learn R Programming

r4ss (version 1.10)

SSplotNumbers: Plot numbers-at-age related data and fits.

Description

Plot numbers-at-age related data and fits from Stock Synthesis output. Plots include bubble plots, mean age, equilibrium age composition, sex-ratio, and ageing imprecision patterns.

Usage

SSplotNumbers(replist, subplots = 1:5, plot = TRUE, print = FALSE,
areas = "all", areanames = "default",
areacols = "default", pntscalar = 2.6, add =
FALSE,  labels = c("Year", "Age", "True age (yr)",
  "SD of observed age (yr)",       
  "Mean age (yr)",                 
  "Mean age in the population",    
  "Ageing imprecision",            
  "Numbers at age at equilibrium", 
  "Equilibrium age distribution",  
  "Sex ratio of numbers at age (males/females)"),
pwidth = 7, pheight = 7, punits = "in", res = 300, ptsize = 12,
cex.main = 1, plotdir = "default", verbose = TRUE)

Arguments

replist
list created by SSoutput
subplots
vector controlling which subplots to create
plot
plot to active plot device?
print
print to PNG files?
areas
optional subset of areas to plot for spatial models
areanames
names for areas. Default is to use Area1, Area2,...
areacols
vector of colors by area
pntscalar
maximum bubble size for bubble plots; each plot scaled independently based on this maximum size and the values plotted. Often some plots look better with one value and others with a larger or smaller value. Default=2.6
add
add to existing plot? (not yet implemented)
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