Learn R Programming

ggcorrheatmap (version 0.3.0)

isSquare: Check if a matrix is square (and require the same row and colnames).

Description

A 'softer' version of isSymmetric that does not require the values to be the same, only the dimensions and dimnames.

Usage

isSquare(x)

Value

Logical.

Arguments

x

A matrix or data frame to check.