# NOT RUN {
# data
Y <- ptsd
# polychoric partials
S <- psych::polychoric(Y)$rho
# fit model
fit <- ggm_search(x = S,
n = nrow(Y),
stop_early = 1000,
progress = FALSE)
# }
Run the code above in your browser using DataLab