This function grafts tree y
onto tree x
at node where
.
bind.tree.simmap(x, y, where="root")
an object of class "simmap"
. (The receptor tree.)
an object of class "simmap"
. (The tree being grafted.)
node number to attach new tip, or the root node if where="root"
.
An object of class "simmap"
.
This function wraps around bind.tree
for objects of class "simmap"
; however it presently only allows y
to be grafted at a node of x
and it does not allow y
to possess a root edge.
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.