hfgolino/EGAnet

rollback `"cor_auto"` to actually be `qgraph::cor_auto`

Closed this issue · 1 comments

When setting corr = "cor_auto", the default behavior is to use auto.correlate

For legacies purposes, setting corr = "cor_auto" should actually use qgraph::cor_auto

Until changed, the workaround of computing correlations using qgraph::cor_auto can be used

Minimal example:

# Load packages
library(EGAnet); library(qgraph)

# Compute correlations
wmt_corr <- cor_auto(wmt2[,7:24])

# Estimate EGA
EGA(wmt_corr, n = nrow(wmt2))

Resolution: corr = "cor_auto" will use qgraph::cor_auto