powered by
Test if a matrix is of probability
is.probability.matrix(x)
A logical corresponding to whether x is a probability matrix (sum of rows equal to 1).
x
a matrix.
Ehouarn Le Faou