Learn R Programming

TreeSearch (version 0.3.2)

ListToMatrix: Edge list to edge matrix

Description

Edge list to edge matrix

Usage

ListToMatrix(edgeList)

Arguments

edgeList

tree edges in the format list(parent, child).

Value

edges in the format expected by tree$edge, where tree is a tree of class phylo.