getNdPrid: Get pre-nodes to root

Description Usage Arguments Details See Also Examples

View source: R/get-methods.R

Description

Return node ids for connecting id to root.

Usage

1
getNdPrid(tree, id)

Arguments

tree

TreeMan object

id

node id

Details

Returns a vector.

See Also

getNdsPrid, getNdPtid, getNdsPtid, https://github.com/DomBennett/treeman/wiki/get-methods

Examples

1
2
3
4
library(treeman)
tree <- randTree(10)
# get all nodes to root
getNdPrid(tree, id='t1')

treeman documentation built on May 19, 2017, 8:33 p.m.

Search within the treeman package
Search all R packages, documentation and source code