Builds a sparse, planar, chordal association network by greedily retaining
the 3(p - 2) most informative edges (Massara et al. 2016). Equivalent in
purpose to NetworkToolbox::TMFG() / bootnet's "TMFG" default, pure base
R; correctness is certified structurally by tmfg_certificate().
Arguments
- data
Numeric data frame or matrix (rows = observations). Optional if
cor_matrixis supplied.- cor_matrix
Optional correlation matrix.
- n
Accepted and ignored. TMFG is a structural filter and needs no sample size; the argument exists only so a uniform
(cor_matrix=, n=)call shared with the other estimators does not partial-matchna_method.- cor_method
Correlation when
datais supplied:"pearson"(default),"spearman","kendall", or"auto"(polychoric/polyserial; seecor_auto()).- na_method
Missing-data handling when
datais supplied:"pairwise"(default) or"listwise". Seeebic_glasso().- labels
Optional node labels.
Value
A psychnet object whose $weights is the filtered (signed)
correlation matrix on the retained edges, with $adjacency, $cliques,
$separators (the chordal decomposition used by logo_network()), and
$cor_matrix.