a4aFitSA-class: S4 class 'a4aFitSA'

a4aFitSA-classR Documentation

S4 class a4aFitSA

Description

The a4aFitSA class extends a4aFit to store information about the parameters of the model.

Usage

a4aFitSA(...)

a4aFitSA(...)

## S4 method for signature 'a4aFitSA'
a4aFit(object, ...)

pars(object)

## S4 method for signature 'a4aFitSA'
pars(object)

## S4 method for signature 'a4aFitSA'
m(object)

## S4 method for signature 'a4aFitSA'
wt(object)

## S4 method for signature 'a4aFitSA'
qmodel(object)

## S4 method for signature 'a4aFitSA'
fmodel(object)

## S4 method for signature 'a4aFitSA'
srmodel(object)

## S4 method for signature 'a4aFitSA'
n1model(object)

## S4 method for signature 'a4aFitSA'
vmodel(object)

## S4 method for signature 'a4aFitSA'
stkmodel(object)

## S4 method for signature 'a4aFitSA'
show(object)

## S4 method for signature 'a4aFitSA'
submodels(object, ...)

## S4 method for signature 'a4aFitSA'
iter(obj, it)

a4aFitSAs(object, ...)

## S4 method for signature 'list'
a4aFitSAs(object, ...)

## S4 method for signature 'a4aFitSA'
a4aFitSAs(object, ...)

## S4 method for signature 'missing'
a4aFitSAs(object, ...)

Arguments

...

additional argument list that might never be used

object

object of relevant class (see signature of method)

obj

the object to be subset

it

iteration to be extracted

Slots

call

The function call

clock

Information on call duration

fitSumm

Fit summary

stock.n

Estimates of stock numbers-at-age

harvest

Estimates of fishing mortality at age

catch.n

Estimates of catch numbers-at-age

index

Estimates of survey or CPUE indices-at-age

pars

an object of class SCAPars with information about model parameters

Accessors

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

The values passed for replacement need to be of the class of that slot. A numeric vector can also be used when replacing FLQuant slots, and the vector will be used to substitute the values in the slot, but not its other attributes.

Constructor

A construction method exists for this class that can take named arguments for any of its slots. All slots are then created to match the requirements of the class validity. If an unnamed FLQuant object is provided, this is used for sizing, but not for populating any slot.

Examples

data(ple4)
data(ple4.index)

obj <- sca(stock=ple4, indices=FLIndices(ple4.index), fit="assessment")
obj

slotNames(obj)
clock(obj)
fitSumm(obj)

flq <- stock.n(obj)
is(flq)
flq <- index(obj)
is(flq)

logLik(obj)
AIC(obj)
BIC(obj)

is(pars(obj))

flr/FLa4a documentation built on June 4, 2023, 11:05 a.m.