get_root: Get root node

Usage Arguments Value

View source: R/prep_data.R

Usage

1
get_root(edges)

Arguments

el

[character matrix] A matrix specifying the tree structure. The first column are character names for the parents, the second are children.

Value

[character vector] A vector of nodes that have children but no parents


krisrs1128/treelapse documentation built on Jan. 3, 2020, 6:29 p.m.