checkTraitTree: Check Matrix Parameter

View source: R/optimization.R

checkTraitTreeR Documentation

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'.


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