qgraph examples

qgraph

qgraph

qgraph

BIG 5 DATASET

# Load big5 dataset:
data(big5)
data(big5groups)

# Correlations:
Q <- qgraph(cor(big5), minimum = 0.25, cut = 0.4, vsize = 1.5, groups = big5groups, 
    legend = TRUE, borders = FALSE)
title("Big 5 correlations", line = 2.5)

plot of chunk unnamed-chunk-2


# Same graph with spring layout:
Q <- qgraph(Q, layout = "spring")
title("Big 5 correlations", line = 2.5)

plot of chunk unnamed-chunk-2


# Same graph with Venn diagram overlay:
qgraph(Q, overlay = TRUE)
title("Big 5 correlations", line = 2.5)