allequal {detpack} | R Documentation |
Check if all column vectors in a matrix are equal.
allequal(x)
x |
matrix with column vectors. |
TRUE if matrix x
has zero or one column, or if all column vectors in matrix x
are equal. FALSE if x
contains at least two different columns.