Learn R Programming

TreeSearch (version 0.2.2)

AncestorEdge: Ancestral edge

Description

Ancestral edge

Usage

AncestorEdge(edge, parent, child)

Arguments

edge

Number of an edge

parent

parent nodes (given by phylo.object$edge[, 1])

child

child nodes (given by phylo.object$edge[, 2])

Value

a logical vector identifying whether each edge is the edge that is ancestral to the given edge.