Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

threshState

Computes value for a threshold character from a liability and thresholds


Description

Primarily to be used internally by ancThresh; can also be used to simulate threshold traits.

Usage

threshState(x, thresholds)

Arguments

x

liability.

thresholds

a named vector containing the thresholds.

Value

A discrete character value.

Author(s)

References

Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.

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

See Also


phytools

Phylogenetic Tools for Comparative Biology (and Other Things)

v0.7-70
GPL (>= 2)
Authors
Liam J. Revell
Initial release
2020-9-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.