Learn R Programming

hapsim (version 0.31)

checkpd: Checks that a covariance matrix is positive definite

Description

Checks that a matrix is positive definite

Usage

checkpd(sigma, tol = 1e-06)

Arguments

sigma

Covariance matrix

tol

Tolerance value

Value

If TRUE, the input matrix is positive definite.