powered by
These functions prints a compact summary of a phylogeny, or a list of phylogenies, on the console.
# S3 method for phylo print(x, printlen = 6 ,...) # S3 method for multiPhylo print(x, details = FALSE ,...) # S3 method for multiPhylo str(object, ...)
an object of class "phylo" or "multiPhylo".
"phylo"
"multiPhylo"
an object of class "multiPhylo".
the number of labels to print (6 by default).
a logical indicating whether to print information on all trees.
further arguments passed to or from other methods.
NULL.
read.tree, summary.phylo, print for the generic R function
read.tree
summary.phylo
print
# NOT RUN { x <- rtree(10) print(x) print(x, printlen = 10) x <- rmtree(2, 10) print(x) print(x, TRUE) str(x) # }
Run the code above in your browser using DataLab