trim {FLCore}R Documentation

Method for trimming FLQuant objects.

Description

This method provides a trimming procedure for FLQuants. This is a generic method, currently defined for FLQuant, and can be overloaded for other classes.

Usage

        trim(obj, ...)

Arguments

obj The object to be trimmed
... dimensions and dimnames to trim the object along.

Methods

signature(FLQuant)
trim for FLQuant object

Author(s)

FLR Team

See Also

subset

Examples

# load ple4
data(ple4)
# subset catches
trim(ple4@catch.n, age=2:7, year=1970:1980)
# now with unit dimension
example("FLQuant")
trim(sq, unit="female")

[Package FLCore version 1.1 Index]