nearpdf: PD calibration

View source: R/helper_functions.R

nearpdfR Documentation

PD calibration

Description

PD calibration

Usage

nearpdf(cormatrix, pda.method = "shrink", lmin = 0.1)

Arguments

cormatrix

input cormatrix

pda.method

"nearpd" or FALSE

lmin

the min threshold of eigenvalues

Value

cormatrix.pd, the positive-definite adjusted correlation matrix

lmin, the min threshold of eigenvalues

Examples

x = matrix(rnorm(100), ncol = 10)
nearpdf(cor(x), pda.method = "nearpd", lmin = 0.1)

PengSU517/robcovsel documentation built on Sept. 13, 2023, 1 a.m.