File: add.everywhere.Rd

package info (click to toggle)
r-cran-phytools 0.6-60-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,620 kB
  • sloc: makefile: 2
file content (25 lines) | stat: -rw-r--r-- 906 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
\name{add.everywhere}
\alias{add.everywhere}
\title{Add tip to all edges in a tree}
\usage{
add.everywhere(tree, tip.name)
}
\arguments{
	\item{tree}{an object of class \code{"phylo"}.}
	\item{tip.name}{a string containing the name of the tip to add.}
}
\description{
	This function adds a tip to all branches of the tree and returns a a list of trees as an object of class \code{"multiPhylo"}.
}
\value{
	A list of trees as an object of class \code{"multiPhylo"}.  Since the tip can be added to any branch, the length of the list is equal to the number of edges in \code{tree}.
}
\author{Liam Revell \email{liam.revell@umb.edu}}
\references{
	Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). \emph{Methods Ecol. Evol.}, \bold{3}, 217-223.
}
\seealso{
	\code{\link{allFurcTrees}}, \code{\link{exhaustiveMP}}
}
\keyword{phylogenetics}
\keyword{utilities}