slice.treedata: Choose rows by their ordinal position in the tbl for an...

Description Usage Arguments Value See Also Examples

View source: R/treeplyr_functions.R

Description

This function can be used to drop tips from tree and data; see slice.

Usage

1
2
## S3 method for class 'treedata'
slice(.data, ...)

Arguments

.data

An object of class treedata

...

Integer row values

Value

An object of class treedata.

See Also

slice

Examples

1
2
3
4
data(anolis)
td <- make.treedata(anolis$phy, anolis$dat)
tdslice <- slice(td, 1:5)
tdslice

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