Combine traps Objects
Form a single
traps object from two or more existing
one or more
logical for whether row names in the new object should be set to the row indices
integer vector; if specified and the inputs lack usage attributes then a binary usage attribute will be generated with the given number of occasions for each input
An attempt to combine objects will fail if they conflict in their
covariates attributes. Differences in the
attribute are handled as follows. If
usage is missing for all
addusage = TRUE is specified then usage codes are
generated automatically (positive for the specified number of
usage is specified for one input but not
other(s), the missing values are constructed assuming all detectors
were operated for the maximum number of occasions in any input. If
inputs differ in the number of ‘usage’ columns (occasions), the
smaller matrices are padded with ‘zero’ columns to the maximum number
of columns in any input.
... may be a single multi-session traps object (from 2.10.0).
An object of class
traps with number of rows equal to the sum of the rows in the input objects.
1 2 3 4 5 6
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.