]> git.donarmstrong.com Git - ape.git/blobdiff - man/print.phylo.Rd
final commit for ape 3.0
[ape.git] / man / print.phylo.Rd
index 0a78b9624f59aaa51c78989409f049781b05c6e5..91917f8b3fb598409ec320ebfc74d66869afeecb 100644 (file)
@@ -1,17 +1,11 @@
 \name{print.phylo}
 \alias{print.phylo}
 \alias{print.multiPhylo}
-\alias{[.multiPhylo}
-\alias{[[.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{[[}{multiPhylo}(x, i)
-\method{$}{multiPhylo}(x, name)
 \method{str}{multiPhylo}(object, ...)
 }
 \arguments{
   \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 tree(s) to select from a list; this may be a
-    vector of integers, logicals, or names.}
-  \item{name}{a character string specifying the tree to be extracted.}
   \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.
-
-  The operators \code{[}, \code{[[}, and \code{$} propagate the class
-  correctly.
+  These functions prints a compact summary of a phylogeny, or a list of
+  phylogenies, on the console.
 }
 \value{
-  An object of class \code{"phylo"} (\code{[[}, \code{$}) or of class
-  \code{"multiPhylo"} (\code{[[}), 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}