powered by
A 'softer' version of isSymmetric that does not require the values to be the same, only the dimensions and dimnames.
isSquare(x)
Logical.
A matrix or data frame to check.