Learn R Programming

r4ss (version 1.44.0)

SSplotMnwt: Plot mean weight data and fits.

Description

Plot mean weight data and fits from Stock Synthesis output. Intervals are based on T-distributions as specified in model.

Usage

SSplotMnwt(
  replist,
  subplots = 1:2,
  ymax = NULL,
  plot = TRUE,
  print = FALSE,
  fleets = "all",
  fleetnames = "default",
  datplot = FALSE,
  labels = c("Year", "discard", "retained catch", "whole catch",
    "Mean individual body weight (kg)", "Mean weight in", "for"),
  col1 = "blue",
  col2 = "black",
  pwidth = 6.5,
  pheight = 5,
  punits = "in",
  res = 300,
  ptsize = 10,
  cex.main = 1,
  plotdir = "default",
  verbose = TRUE
)

Arguments

replist

A list object created by SS_output().

subplots

Vector of which plots to make (1 = data only, 2 = with fit). If plotdat = FALSE then subplot 1 is not created, regardless of choice of subplots.

ymax

Optional input to override default ymax value.

plot

plot to active plot device?

print

print to PNG files?

fleets

optional vector to subset fleets for which plots will be made

fleetnames

optional replacement for fleenames used in data file

datplot

Make data-only plot of discards? This can override the choice of subplots.

labels

vector of labels for plots (titles and axis labels)

col1

first color to use in plot (for expected values)

col2

second color to use in plot (for observations and intervals)

pwidth

width of plot

pheight

height of plot

punits

units for PNG file

res

Resolution of plots printed to files. The default is res = 300.

ptsize

point size 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?

See Also

SS_plots(), SS_output()