FLIndices-class {FLCore}R Documentation

Class FLIndices

Description

A list of FLIndex objects

Objects from the Class

Objects can be created by calls of the form new("FLIndices", ...), or through the creator function FLIndices().

Slots

.Data:
The list
desc:
A description of the collection

Extends

Class "list".

Methods

summary
signature(object = "FLIndices"): Outputs a summary of the content of the object.
trim
signature(object = "FLIndices"): Applies the trim method to all slots.
[
signature(x = "FLIndices"): Subsets an FLIndices object.
lapply
signature(X = "FLIndices", FUN = "function"): ...

Author(s)

FLR Team

See Also

FLIndex-class

Examples

## Not run: 
# Create two FLIndex objects, and collect them together in an FLIndices collection
my.index1 <- FLIndex(name="index #1", method="Lognormal GLM")
my.index2 <- FLIndex(name="index #2", method="Poisson GLM")
my.indices <- FLIndices(my.index1, my.index2, desc="An example of an FLIndices object")
summary(my.indices)

# We do not need individual components any more
rm(my.index1, my.index2)

# To access one index, use:
my.indices[[2]] # Get the second index dataset in the collection

is.FLIndices(my.indices)
## End(Not run)

[Package FLCore version 1.4-3 Index]