propRowSorted {jwutil} | R Documentation |
first performs isRowSorted to get a logical vector, then sums TRUE values and takes fraction of total
propRowSorted(x)
x |
matrix, each row containing ordered or disordered numerics |
double, the proportion from 0 to 1