# NOT RUN {
### Using wmt2 dataset from EGAnet ###
data(wmt2)
# }
# NOT RUN {
# Compute correlations:
CorMat <- qgraph::cor_auto(wmt2[,7:24])
# Compute graph with tuning = 0 (BIC):
BICgraph <- EBICglasso.qgraph(CorMat, n = nrow(wmt2), gamma = 0)
# Compute graph with tuning = 0.5 (EBIC)
EBICgraph <- EBICglasso.qgraph(CorMat, n = nrow(wmt2), gamma = 0.5)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab