Learn R Programming

mmand (version 1.6.3)

symmetric: Check for a symmetric array

Description

This function checks whether a numeric array is symmetric, in the sense of transposition. This is tested by comparing the reversed vectorised array to the unreversed equivalent.

Usage

symmetric(x)

Value

A logical value indicating whether the array is symmetric or not.

Arguments

x

An object that can be coerced to a numeric array.

Author

Jon Clayden <code@clayden.org>