Identify, for each edge, whether it is not a duplicate of the root edge
NonDuplicateRoot(parent, child, nEdge = length(parent))
the first column of the edge matrix of a tree of class phylo
, i.e. tree$edge[, 1]
the second column of the edge matrix of a tree of class phylo
, i.e. tree$edge[, 2]
(optional) integer specifying the number of edges of a tree of
class phylo
, i.e. dim(tree$edge)[1]