binaryCovarion function
binaryCovarion(Number alpha, Number s, Number[] vfreq, Number[] hfreq, Number meanRate)
The rate matrix of the Covarion model for Binary data. It is equivalent to the BEAST mode.
Parameters
- Number alpha - the rate of evolution in slow mode.
- Number s - the rate of flipping between slow and fast modes
- Number[] vfreq - the frequencies of the visible states
- Number[] hfreq - the frequencies of the hidden rates
- Number meanRate - (optional) the mean rate of the process. default = 1.0
Return type
Examples
- cpacific.lphy