filter.treedata: Function for filtering rows from an object of class...

Description Usage Arguments Value See Also Examples

View source: R/treeplyr_functions.R

Description

This function can be used to select a subset of species (rows) from a treedata object; see filter.

Usage

1
2
3
4
5
## S3 method for class 'treedata'
filter(.data, ...)

## S3 method for class 'grouped_treedata'
filter(.data, ...)

Arguments

.data

An object of class treedata

...

Additional arguments to filter by

Value

An object of class treedata with the dataset filtered by the specified criteria.

See Also

filter

Examples

1
2
3
data(anolis)
td <- make.treedata(anolis$phy, anolis$dat, name_column=1)
tdfilter <- filter(td, island=="Cuba", SVL > 3.5)

treeplyr documentation built on Sept. 17, 2020, 5:07 p.m.