trim {FLCore} | R Documentation |
This method provides a trimming procedure for FLQuants. This is a generic method, currently defined for FLQuant, and can be overloaded for other classes.
trim(obj, ...)
obj |
The object to be trimmed |
... |
dimensions and dimnames to trim the object along. |
FLR Team
# 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")