Learn R Programming

phylobase (version 0.6.8)

checkPhylo4: Validity checking for phylo4 objects

Description

Basic checks on the validity of S4 phylogenetic objects

Usage

checkPhylo4(object)
checkTree(object)
checkPhylo4Data(object)

Arguments

object
A prospective phylo4 or phylo4d object

Value

  • As required by validObject, returns an error string (describing problems) or TRUE if everything is OK.

See Also

the phylo4 constructor and phylo4 class; formatData, the phylo4d constructor and the phylo4d class do checks for the data associated with trees. See coerce-methods for translation functions and phylobase.options to change some of the default options of the validator.