getEdgeStats: Get edge statistics

Description Usage Arguments Details References Examples

Description

Return dataframe of first node of edge, second node of edge, their ages and the number of children descending from the edge.

Usage

1
getEdgeStats(tree, edges = "all", ignore.tips = NULL)

Arguments

tree

phylogenetic tree (ape class)

edges

numeric vector of edges, default 'all'

ignore.tips

tips to ignore when counting, default NULL

Details

Assumes tree is rooted, bifurcating and time callibrated.

Use ignore.tips to specify tips of tree to ignore when counting children.

References

No references yet! https://github.com/DomBennett/MoreTreeTools.

Examples

1
2
tree <- rtree (100)
edge.stats <- getEdgeStats (tree)

DomBennett/MoreTreeTools documentation built on May 6, 2019, 2:51 p.m.