powered by
Creates a K x K symmetric rate matrix (Q matrix) with equal transition rates between states. The diagonal elements are set such that each row sums to zero.
symmetric.Q.matrix(K)
A K x K numeric matrix representing the symmetric Q matrix.
Integer. The number of states.
symmetric.Q.matrix(4)
Run the code above in your browser using DataLab