File: di2multi.simmap.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 (29 lines) | stat: -rw-r--r-- 1,157 bytes parent folder | download
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
26
27
28
29
\name{di2multi.simmap}
\alias{di2multi.simmap}
\title{Collapse branches of zero length to polytomy in stochastic map style tree}
\usage{
\method{di2multi}{simmap}(phy, ...)
}
\arguments{
	\item{phy}{object of class \code{"simmap"} containing a stochastically mapped discrete character.}
	\item{...}{optional argument \code{tol}, length below which edges should be treated as having zero length.}
}
\description{
	This function collapses branches of zero length (or, more specifically, branches with length shorter than \code{tol}) to create a polytomy in a stochastic-map style tree.
}
\details{
	This function should theoretically perform similarly to \code{\link{di2multi}} in ape.
}
\value{
	A tree with a stochastically mapped discrete character
}
\references{
	Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). \emph{Methods Ecol. Evol.}, \bold{3}, 217-223.
}
\author{Liam Revell \email{liam.revell@umb.edu}}
\seealso{
	\code{\link{di2multi}}, \code{\link{make.simmap}}, \code{\link{read.simmap}}
}
\keyword{phylogenetics}
\keyword{comparative method}
\keyword{utilities}