Validate phenotypic values and phylogenetic tree

validateZTree(z, tree)

Arguments

z

trait (phenotypic) values at the tips of the tree

tree

A phylo object with the same number of tips as the length of z.

Value

The function either returns TRUE or exits with an error message if it finds a problem with the specificaiton.