Learn R Programming

simsem (version 0.2-8)

isCorMatrix: Check whether a matrix is a possible correlation matrix

Description

Check whether a matrix is a possible correlation matrix

Usage

isCorMatrix(matrixA)

Arguments

matrixA
The target matrix

Value

  • TRUE if the target matrix is a possible correlation matrix

Examples

Run this code
# This function is not a public function.

# isCorMatrix(diag(5))

Run the code above in your browser using DataLab