Estimates a sparse Gaussian graphical model whose conditional-independence
structure is the chordal TMFG: the precision is the closed-form Gaussian
Markov random field on that graph (Barfuss et al. 2016). Equivalent in
purpose to NetworkToolbox::LoGo() / bootnet's "LoGo" default, pure base
R and self-certified via ggm_support_kkt() (the precision reproduces S
exactly on the TMFG support).
Arguments
- data
Numeric data frame or matrix (rows = observations). Optional if
cor_matrixis supplied.- cor_matrix
Optional correlation matrix; if given,
nis required.- n
Sample size (recorded on the result; required with
cor_matrix).- cor_method
Correlation when
datais supplied:"pearson"(default),"spearman","kendall", or"auto"(polychoric/polyserial; seecor_auto()).- threshold
Partial correlations with absolute value below this are zeroed. Default 0.
- na_method
Missing-data handling when
datais supplied:"pairwise"(default) or"listwise". Seeebic_glasso().- labels
Optional node labels.