checkTraitTree function

Check Matrix Parameter

Check Matrix Parameter

Check that the parameters are compatible with the tree. Throws an error if not.

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'.
  • Maintainer: Paul Bastide
  • License: GPL (>= 3)
  • Last published: 2024-10-01