HandleGlassoNaN: HandleGlassoNaN

Description Usage Arguments Details

View source: R/utils.R

Description

Suppress specific warning in glasso package

Usage

1

Arguments

w

Warning to be handled

Details

To be used with withCallingHandlers. Glasso produces non-pd covariance matrices when using the Meinshausen-Bühlmann approximation. It then tries to calculate the likelihood an hence log(det(cov_mat_i)) which will throw a warning if cov_mat is not pd.


lorenzha/hdcd documentation built on Sept. 2, 2018, 8:20 p.m.