Learn R Programming

treeplyr (version 0.1.10)

select.treedata: 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 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

Run this code
# NOT RUN {
data(anolis)
td <- make.treedata(anolis$phy, anolis$dat)
tdselect <- select(td, SVL, awesomeness)
# }

Run the code above in your browser using DataLab