Primarily to be used internally by ancThresh
; can also be used to simulate threshold traits.
threshState(x, thresholds)
A discrete character value.
liability.
a named vector containing the thresholds.
Liam Revell liam.revell@umb.edu
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.
ancThresh
, threshDIC