procerr.plot: Produce diagnostics on process error in the SAM Model

View source: R/methods_plots.R

procerr.plotR Documentation

Produce diagnostics on process error in the SAM Model

Description

Generate plots that inform on process error in the SAM assessment model

Usage

procerr.plot(stck, weight = "stock.wt", type = "n", rel = F)

Arguments

stck

An FLStock object

weight

Option to choose between stock.wt and catch.wt

type

Option to choose between observation error related to N-at-age ('n'), mortality ('mort') or total biomass ('tsb')

rel

Logical. Express error relative or absolute

Value

A picture is returned

Author(s)

Niels T. HIntzen (based on code from Einar Hjorleifsson)

Examples

library(FLSAM)

data(NSH)

procerr.plot(NSH,type="n")
procerr.plot(NSH,type="n",rel=TRUE)
procerr.plot(NSH,type="mort")
procerr.plot(NSH,type="mort",rel=TRUE)
procerr.plot(NSH,type="tsb",weight="catch.wt",rel=FALSE)
procerr.plot(NSH,type="tsb",weight="catch.wt",rel=TRUE)
procerr.plot(NSH,type="tsb",weight="stock.wt",rel=FALSE)
procerr.plot(NSH,type="tsb",weight="stock.wt",rel=TRUE)

flr/FLSAM documentation built on July 4, 2024, 5:05 a.m.