distance_from_tip: For each node in the tree (including internal nodes and tips)...

Description Usage Arguments Value

View source: R/utility_functions.R

Description

For each node in the tree (including internal nodes and tips) get the shortest distance to a descendant node. Values for tip nodes should be 0.

Usage

1

Arguments

phy

A phylo object

Value

A vector with elements corresponding to each node


caseywdunn/hutan documentation built on June 12, 2020, 3:12 a.m.