bind.tree.simmap: Attaches a new tip to a tree

Description Usage Arguments Details Value Author(s) References

View source: R/utilities.R

Description

This function grafts tree y onto tree x at node where.

Usage

1
bind.tree.simmap(x, y, where="root")

Arguments

x

an object of class "simmap". (The receptor tree.)

y

an object of class "simmap". (The tree being grafted.)

where

node number to attach new tip, or the root node if where="root".

Details

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.

Value

An object of class "simmap".

Author(s)

Liam Revell [email protected]

References

Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.


liamrevell/phytools documentation built on Nov. 18, 2018, 4:18 p.m.