checkDuplicates function

Check For Duplicated Entries

Check For Duplicated Entries

Check that the trait are compatible with the tree. Throws an error if not. Assumes that the trait and tree tips are in the same order, using function checkTraitTree.

checkDuplicates(trait, tree)

Arguments

  • trait: (named) vector or matrix of traits being tested.
  • tree: phylogenetic tree.
  • Maintainer: Paul Bastide
  • License: GPL (>= 3)
  • Last published: 2024-10-01