resplot: Plots residuals

View source: R/plot.R

resplotR Documentation

Plots residuals

Description

Plots residuals

Usage

resplot(fit, log = TRUE, ...)

## S3 method for class 'ccam'
resplot(fit, trans = function(x) x,
  fleets = unique(fit$data$aux[, "fleet"]), type = 1, std = TRUE,
  out = 0, ...)

Arguments

fit

the object returned from ccam.fit

...

extra arguments to plot

fleets

an integer vector of fleets to plot. Default is all of them

type

Type of residual plot

std

logical; standardize residuals?

out

number of outliers to which to add identifier

Details

types are residuals ~ year (1); residuals ~ predicted (2); predicted ~ observed (3)


elisvb/CCAM documentation built on March 13, 2023, 6:55 a.m.