phylo4d-class: phylo4d class

Description Objects from the Class Author(s) See Also Examples

Description

S4 class for phylogenetic tree and data.

Objects from the Class

Objects can be created from various trees and a data.frame using the constructor phylo4d, or using new("phylo4d", ...{}) for empty objects.

Author(s)

Ben Bolker, Thibaut Jombart

See Also

coerce-methods for translation functions. The phylo4d-methods constructor. See also the phylo4-methods constructor, the phylo4 class, and the checkPhylo4 function to check the validity of phylo4 trees.

Examples

1
2
3
4
5
  example(read.tree, "ape")
  obj <- phylo4d(as(tree.owls.bis,"phylo4"), data.frame(wing=1:3))
  obj
  names(obj)
  summary(obj)

phylobase documentation built on May 30, 2017, 4:15 a.m.

Search within the phylobase package
Search all R packages, documentation and source code