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