SSplotDiscard: Plot fit to discard fraction.

Description Usage Arguments Author(s) See Also

View source: R/SSplotDiscard.R

Description

Plot fit to discard fraction from Stock Synthesis output file.

Usage

1
2
3
4
5
6
7
SSplotDiscard(replist, subplots = 1:2, plot = TRUE, print = FALSE,
plotdir = "default", fleets = "all", fleetnames = "default",
datplot = FALSE,
labels = c("Year", "Discard fraction", "Total discards", "for"),
yhi = 1, col1="blue", col2="red",
pwidth = 7, pheight = 7, punits = "in", res = 300,
ptsize = 12, cex.main = 1, verbose = TRUE)

Arguments

replist

List 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.

plot

Plot to active plot device?

print

Print to PNG files?

plotdir

Directory where PNG files will be written. by default it will be the directory where the model was run.

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)

yhi

Maximum y-value to include in plot (all data included regardless). Default = 1.

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 written to PNG file

pheight

Height of plot written to PNG file

punits

Units for PNG file

res

Resolution for PNG file

ptsize

Point size for PNG file

cex.main

Character expansion for plot titles

verbose

Report progress to R GUI?

Author(s)

Ian Taylor, Ian Stewart

See Also

SS_plots


r4ss documentation built on May 2, 2019, 4:56 p.m.