]> git.donarmstrong.com Git - ape.git/blobdiff - man/print.phylo.Rd
some big fixes for ape 2.7-1
[ape.git] / man / print.phylo.Rd
index f0b83a462b517a6ac141489092fcd246374dd89a..91917f8b3fb598409ec320ebfc74d66869afeecb 100644 (file)
@@ -1,33 +1,40 @@
 \name{print.phylo}
 \alias{print.phylo}
 \alias{print.multiPhylo}
-\alias{[.multiPhylo}
+\alias{str.multiPhylo}
 \title{Compact Display of a Phylogeny}
 \usage{
 \method{print}{phylo}(x, printlen = 6 ,...)
 \method{print}{multiPhylo}(x, details = FALSE ,...)
-\method{[}{multiPhylo}(x, i)
+\method{str}{multiPhylo}(object, ...)
 }
 \arguments{
   \item{x}{an object of class \code{"phylo"} or \code{"multiPhylo"}.}
+  \item{object}{an object of class \code{"multiPhylo"}.}
   \item{printlen}{the number of labels to print (6 by default).}
   \item{details}{a logical indicating whether to print information on
     all trees.}
-  \item{i}{indices of the trees to select from a list; this may be a
-    vector of integers, logicals, or names.}
-  \item{...}{further arguments passed to or from other methods.}
+  \item{\dots}{further arguments passed to or from other methods.}
 }
 \description{
-  These functions prints a compact summary of a phylogeny, or a list of,
-  on the console.
+  These functions prints a compact summary of a phylogeny, or a list of
+  phylogenies, on the console.
 }
 \value{
-  An object of class \code{"multiPhylo"} or NULL.
+  NULL.
 }
-\author{Ben Bolker \email{bolker@zoo.ufl.edu} and Emmanuel Paradis
-  \email{Emmanuel.Paradis@mpl.ird.fr}}
+\author{Ben Bolker \email{bolker@zoo.ufl.edu} and Emmanuel Paradis}
 \seealso{
   \code{\link{read.tree}}, \code{\link{summary.phylo}},
-  \code{\link[base]{print}} for the generic R function
+  \code{\link[base]{print}} for the generic \R function
+}
+\examples{
+x <- rtree(10)
+print(x)
+print(x, printlen = 10)
+x <- rmtree(2, 10)
+print(x)
+print(x, TRUE)
+str(x)
 }
 \keyword{manip}