Extract | R Documentation |
Quick access to slots taxonTraits
and taxonRelations
within
taxlist objects.
## S4 method for signature 'taxlist'
x[i, j, drop = FALSE]
## S4 method for signature 'taxlist'
x$name
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. |
drop |
A logical value passed to |
name |
A symbol or character value for the method |
The method $
retrieves a vector, while [
retrieves a subset
of the input taxlist object.
Miguel Alvarez kamapu78@gmail.com.
taxlist subset
## Statistics on life forms
summary(as.factor(Easplist$life_form))
## First concepts in this list
summary(Easplist[1:5, ], "all")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.