is.cor: Is it a corrleation matrix?

View source: R/is.cor.R

is.corR Documentation

Is it a corrleation matrix?

Description

Testing if the input matrix is a correlation matrix or not

Usage

  is.cor(m, eps=1e-16)

Arguments

m

a presumed correlation matrix

eps

epsilon value. Absolute value less than this is considered as zero.

Details

Diagonal component should not be necessarily 1. But it should be close to 1.

Value

TRUE or FALSE

Author(s)

Kyun-Seop Bae k@acr.kr


sasLM documentation built on Sept. 5, 2022, 5:11 p.m.