bbmFitresiduals | R Documentation |
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).
bbmFitresiduals(object, ...)
Residuals for indices in total biomass (indicesB), FLQuants
.
Residuals for indices as proportions of recruits in biomass (indicesP), FLQuants
.
All slots in the class have accessor methods defined that allow retrieving individual slots.
Methods exist for various calculations based on values stored in the class. these are:
Method to plot the Pearson residuals.
Method to do a qqplot of the Pearson residuals of survey indices.
Leire Ibaibarriaga & Sonia Sanchez
bbmFit, plot, qqmath
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.