a4aFitResiduals-class: S4 class 'a4aFitResiduals'

a4aFitResiduals-classR Documentation

S4 class a4aFitResiduals

Description

The a4aFitResiduals class extends FLQuants to store residuals of the a4a stock assessment fit. By default, these should be log residuals of catches and indices.

Usage

## S4 method for signature 'a4aFit'
residuals(object, stock, indices, ...)

Arguments

object

object of relevant class (see signature of method)

stock

FLStock object used to fit the model

indices

FLIndices object used to fit the model

...

additional argument list that might never be used

Examples

data(ple4)
data(ple4.index)
obj <- sca(stock=ple4, indices=FLIndices(ple4.index))
flqs <- residuals(obj, ple4, FLIndices(idx=ple4.index))

flr/FLa4a documentation built on Dec. 21, 2024, 9:28 p.m.