Learn R Programming

treeplyr (version 0.1.7)

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, ..., .dots = list())

Arguments

.data

An object of class treedata

...

Additional arguments to select columns

.dots

Used to work around non-standard evaluation. See vignette("nse") for details.

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