Learn R Programming

gMCPLite (version 0.1.6)

checkCorrelation: Check correlation matrix

Description

Sanity checks for the correlation matrix.

Usage

checkCorrelation(m, returnMessage = FALSE, na.allowed = TRUE)

Value

Logical

Arguments

m

TBA

returnMessage

TBA

na.allowed

TBA

Details

Checks the following properties:

  • Values must be between -1 and 1.

  • Diagonal must be equal to 1.

  • Matrix must be symmetric.

Examples

Run this code
NULL

Run the code above in your browser using DataLab