allequal {detpack} | R Documentation |
Are All Columns in a Matrix Equal?
Description
Check if all column vectors in a matrix are equal.
Usage
allequal(x)
Arguments
x |
matrix with column vectors. |
Value
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.
[Package detpack version 1.1.3 Index]