Extract: Extract or Replace Parts of taxlist Objects
Description
Quick access to slots taxonTraits and taxonRelations within
taxlist objects.
Usage
# S4 method for taxlist
[(x, i, j, drop = FALSE)
# S4 method for taxlist
$(x, name)
Value
The method $ retrieves a vector, while [ retrieves a subset
of the input taxlist object.
Arguments
x
Object of class taxlist.
i
Integer or logical vector used as index for access to taxon
concepts, referring to the rows in slot 'taxonRelations'. These indices can
be used to produce a object with a subset of taxon concepts. It is not
recommended to use character values for this index.
j
Integer, logical or character vector used as index for access to
variables in slot 'taxonTraits'. These indices can be used to reduce the
number of variables in the mentioned slot.