Check Matrix Parameter
Check that the parameters are compatible with the tree. Throws an error if not.
checkTraitTree(trait, tree, name = "trait")
trait
: (named) vector or matrix of traits being tested.tree
: A phylogenetic tree.name
: name of the trait. Default to 'trait'.