bbmFitresiduals: bbmFitresiduals class

bbmFitresidualsR Documentation

bbmFitresiduals class

Description

bbmFitresiduals class is used for storing the residuals for the fitted indices in the bbm function. This includes residuals for indices in total biomass (indicesB) and as proportions of recruits in biomass (indicesP).

Usage

bbmFitresiduals(object, ...)

Slots

residuals.B

Residuals for indices in total biomass (indicesB), FLQuants.

residuals.P

Residuals for indices as proportions of recruits in biomass (indicesP), FLQuants.

Accessors

All slots in the class have accessor methods defined that allow retrieving individual slots.

Methods

Methods exist for various calculations based on values stored in the class. these are:

plot

Method to plot the Pearson residuals.

qqmath

Method to do a qqplot of the Pearson residuals of survey indices.

Author(s)

Leire Ibaibarriaga & Sonia Sanchez

See Also

bbmFit, plot, qqmath

Examples


# Load data
data(ane)

# New element of class 'bbmFitresiduals' (empty)
bbmFitresiduals()

obj <- bbm( catch.ane, indicesB=indicesB.ane, indicesP=indicesP.ane, control=control.ane, inits=inits.ane)

res <- residuals(obj)
class(res)
slotNames(res)

# Starndardized residuals plots
plot(res)
qqmath(res)


flr/bbm documentation built on Sept. 6, 2022, 8:56 p.m.