Learn R Programming

asremlPlus (version 4.4.46)

isCompoundSymmetric.matrix: Tests whether an object of class matrix is compound symmetric

Description

Tests whether an object of class matrix is compound symmetric by checking whether all diagonal elements are equal and all off-diagonal elements are equal.

Usage

# S3 method for matrix
isCompoundSymmetric(object, tol = 100 * .Machine$double.eps, ...)

Value

A logical.

Arguments

object

An object to be tested.

tol

a numeric scalar > 0 specifying that values smaller than it are considered to be zero.

...

Provision for passing arguments to functions called internally - not used at present.

Author

Chris Brien

See Also