is.correct.transition.matrix {Ease} | R Documentation |
Test if a matrix is a correct transition matrix
is.correct.transition.matrix(x, type, name)
x |
a matrix. |
type |
type of the matrice (mutation matrix ? recombination matrix ?) |
name |
the name of the matrix. |
A logical corresponding to whether x
is a correct transition
matrix, i.e. a square matrix with dimensions greater than 0 and whose rows
sum to 1.
Ehouarn Le Faou