a single integer. If positive, size for the resulting
object: number of elements for a vector (including lists), rows for a
matrix or data frame or lines for a function. If negative, all but the
n last/first number of elements of x.
...
other arguments passed to subset
Value
An object of the same class as x, but (usually) fewer rows.
Details
These custom S3 methods retain the class of the target object, unlike the
default methods applied to `mask', `Dsurface', `traps' or `capthist' objects.