select.treedata: Function for selecting columns from an object of class...

View source: R/treeplyr_functions.R

select.treedataR Documentation

Function for selecting columns from an object of class treedata

Description

This function can be used to select a subset of variables (columns) from a treedata object; see select.

Usage

## S3 method for class 'treedata'
select(.data, ...)

Arguments

.data

An object of class treedata

...

Additional arguments to select columns

Value

An object of class treedata with specified variables selected.

See Also

select

Examples

data(anolis)
td <- make.treedata(anolis$phy, anolis$dat)
tdselect <- select(td, SVL, awesomeness)

uyedaj/treeplyr documentation built on March 9, 2023, 6:37 p.m.