threshState: Computes value for a threshold character from a liability and...

threshStateR Documentation

Computes value for a threshold character from a liability and thresholds

Description

Internal function for ancThresh.

Usage

threshState(x, thresholds)

Arguments

x

liability.

thresholds

a named vector containing the thresholds.

Details

threshState can also be used to simulate threshold traits.

Value

A discrete character value.

Author(s)

Liam Revell liam.revell@umb.edu

References

Revell, L. J. (2014) Ancestral character estimation under the threshold model from quantitative genetics. Evolution, 68, 743-759.

Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.

See Also

ancThresh, threshDIC


phytools documentation built on June 22, 2024, 10:39 a.m.