FLIndex-class {FLCore} | R Documentation |
A class designed to hold data and parameters related to abundance indices
Objects can be created by calls of the form new("FLIndex", ...)
, through the creator function FLIndex()
.
The function FLIndex()
creates a new FLIndex
object. To initialise the object,
an FLQuant should be provided for the index slot. An empty FLQuant can be used to create
an empty FLIndex of the right dimensions, as in
FLIndex(index=FLQuant(dim=c(5,10,1,1,1)))
Objects of the FLIndex class contain the following slots:
name
:desc
:type
:range
:distribution
:index
:"FLQuant"
for the index (CPUE or other) in numbers, either quant
(i.e., age) structured, or not.index.var
:"FLQuant"
for the index variancesignature(X = "FLSR", FUN = "function")
: Apply a function to all
FLQuant slots in an objectsignature(obj = "FLIndex")
: ... signature(x = "FLIndex", y = "missing")
: ... signature(object = "FLIndex")
: ... signature(x = "FLIndex")
: ... signature(x = "FLIndex")
: ... signature(x = "FLIndex")
: ... FLR Team
fi <- FLIndex(name = 'index', desc = 'An index', index=FLQuant(dim=c(5,10,1,1,1))) summary(fi)