View source: R/summary.phylo.R
print.phylo | R Documentation |
These functions prints a compact summary of a phylogeny, or a list of phylogenies, on the console.
## S3 method for class 'phylo'
print(x, printlen = 6 ,...)
## S3 method for class 'multiPhylo'
print(x, details = FALSE ,...)
## S3 method for class 'multiPhylo'
str(object, ...)
x |
an object of class |
object |
an object of class |
printlen |
the number of labels to print (6 by default). |
details |
a logical indicating whether to print information on all trees. |
... |
further arguments passed to or from other methods. |
NULL.
Ben Bolker and Emmanuel Paradis
read.tree
, summary.phylo
,
print
for the generic R function
x <- rtree(10)
print(x)
print(x, printlen = 10)
x <- rmtree(2, 10)
print(x)
print(x, TRUE)
str(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.