the one input, but the ordering of the edges could be different.
}
\usage{
-\method{reorder}{phylo}(x, order = "cladewise", ...)
+\method{reorder}{phylo}(x, order = "cladewise", index.only = FALSE, ...)
}
\arguments{
\item{x}{an object of class \code{"phylo"}.}
\item{order}{a character string: either \code{"cladewise"} (the
- default), or \code{"pruningwise"}, or any unambiguous abbreviation
- of these.}
+ default), \code{"postorder"}, \code{"pruningwise"}, or any
+ unambiguous abbreviation of these.}
+ \item{index.only}{should the function return only the ordered indices
+ of the rows of the edge matrix?}
\item{\dots}{further arguments passed to or from other methods.}
}
\details{
multichotomies and branch lengths are preserved.
}
\value{
- an object of class \code{"phylo"}.
+ an object of class \code{"phylo"}, or a numeric vector if \code{index.only = TRUE}.
}
\author{Emmanuel Paradis}
\seealso{