View source: R/treeplyr_functions.R
filter.treedata | R Documentation |
treedata
This function can be used to select a subset of species (rows) from a treedata object;
see filter
.
## S3 method for class 'treedata' filter(.data, ...) ## S3 method for class 'grouped_treedata' filter(.data, ...)
.data |
An object of class |
... |
Additional arguments to filter by |
An object of class treedata
with the dataset filtered by the specified criteria.
filter
data(anolis) td <- make.treedata(anolis$phy, anolis$dat, name_column=1) tdfilter <- filter(td, island=="Cuba", SVL > 3.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.