Learn R Programming

PCMBaseCpp (version 0.1.10)

PCMTreePreorderCpp: Fast preorder of the edges in a tree

Description

Fast preorder of the edges in a tree

Usage

PCMTreePreorderCpp(tree)

Value

an integer vector containing indices of rows in tree$edge in their preorder order.

Arguments

tree

a phylo object

Examples

Run this code
PCMTreePreorderCpp(PCMBase::PCMBaseTestObjects$tree.a)

Run the code above in your browser using DataLab