plotResCatch: Plot the model results and the reported catch data

Description Usage Arguments Value Examples

Description

Plot the model results and the reported catch data in the same figure.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
plotResCatch(
  results = res,
  data = data,
  component = c("N0", "N1", "Tot"),
  xLim = NA,
  yLim = NA,
  plot.legend = TRUE,
  plot.Nlims = TRUE,
  projections = TRUE,
  mean.proj = FALSE,
  width = 13,
  height = 13,
  conf.int = TRUE,
  grDev = FALSE,
  labels = "English",
  long.labels = TRUE
)

Arguments

results

Output from fitted model

data

Original data on estimated pup production (set to NA if these are not to be included).

component

Which population component to plot. Can be either 'N0' for pups, 'N1' for adults, or a vector with both.

xLim

Manually set the x axis extent, overrides the default which is the extent of the plotted data.

yLim

Manually set the y axis extent, overrides the default which is the extent of the plotted data.

plot.legend

Add legend to plot (TRUE/FALSE)

plot.Nlims

True/False

projections

Plot projections (TRUE/FALSE)

mean.proj

True/False

width

Width of the figure

height

Height of the figure

conf.int

Logical parameter to decide wether to plot 95 percent confidence interval or not

grDev

Logical parameter to decide wether to open a OS independent graphical window

long.labels

Set TRUE for more detailed legend and FALSE for simple

Value

plot Returns a plot of predicted population size for different population components

Examples

1
plotCResatch(data$Cdata)

NorskRegnesentral/rSPAMM documentation built on Nov. 16, 2020, 10:58 p.m.