Estimates a Gaussian graphical model after a rank-based nonparanormal
transform that relaxes the multivariate-normal assumption, then selects the
L1 penalty by EBIC and refits to the certified optimum. Equivalent in purpose
to huge::huge() (nonparanormal) / bootnet's "huge" default, but pure
base R and self-certified via glasso_kkt() on the transformed correlation.
Arguments
- data
Numeric data frame or matrix (rows = observations). Optional if
cor_matrixis supplied (then the transform is skipped).- cor_matrix
Optional pre-transformed correlation matrix; if given,
nis required,dataandnpnare ignored.- n
Sample size (required when
cor_matrixis supplied).- npn
Nonparanormal transform:
"shrinkage"(default),"truncation", or"skeptic"(Spearman).- gamma
EBIC hyperparameter. Default 0.5.
- nlambda
Number of penalties on the path. Default 100.
- lambda_min_ratio
Smallest penalty as a fraction of the largest.
- threshold
Partial correlations with absolute value below this are zeroed. Default 0.
- na_method
Missing-data handling when
datais supplied:"pairwise"(default, with the nonparanormal transform applied per column over observed values) or"listwise". Seeebic_glasso().- native
Solver switch for the glasso path:
TRUE(default) uses the pure-R solver;FALSEdelegates to theglassoFortran package (inSuggests). Seeebic_glasso().- labels
Optional node labels.