# NOT RUN {
# Population structure:
## plot.type = "qqraph" used for CRAN checks
## plot.type = "GGally" is the default
dyn.random <- dynEGA(data = sim.dynEGA, n.embed = 5, tau = 1,
delta = 1, id = 21, group = 22, use.derivatives = 1,
level = "population", model = "glasso", ncores = 2)
plot(dyn.random, plot.type = "qgraph")
# Group structure:
dyn.group <- dynEGA(data = sim.dynEGA, n.embed = 5, tau = 1,
delta = 1, id = 21, group = 22, use.derivatives = 1,
level = "group", model = "glasso", ncores = 2)
plot(dyn.group, ncol = 2, nrow = 1, plot.type = "qgraph")
# Intraindividual structure (commented out for CRAN tests):
# dyn.individual <- dynEGA(data = sim.dynEGA, n.embed = 5, tau = 1,
# delta = 1, id = 21, group = 22, use.derivatives = 1,
# level = "individual", model = "glasso", ncores = 2)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab