checkDuplicates: Check For Duplicated Entries

View source: R/optimization.R

checkDuplicatesR Documentation

Check For Duplicated Entries

Description

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.

Usage

checkDuplicates(trait, tree)

Arguments

trait

(named) vector or matrix of traits being tested.

tree

phylogenetic tree.


cauphy documentation built on Oct. 1, 2024, 5:08 p.m.