add_multichotomous_tip {ddtlcm}R Documentation

Add a leaf branch to an existing tree tree_old to make a multichotomus branch

Description

Add a leaf branch to an existing tree tree_old to make a multichotomus branch

Usage

add_multichotomous_tip(tree_old, div_t, new_leaf_label, where)

Arguments

tree_old

the original "phylo" tree (with K leaves) to which the leaf branch will be added

div_t

divergence time of the new branch

new_leaf_label

the label of the newly added leaf

where

node name of to which node in the existing tree the new leaf branch should connect to

Value

a "phylo" tree with K+1 leaves that could possibly be multichotomus


[Package ddtlcm version 0.2.1 Index]