Rdocumentation
powered by
Learn R Programming
phytools (version 0.3-72.1)
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.
See Also
ancThresh
,
threshDIC