# NOT RUN {
data <- optimism
# }
# NOT RUN {
# resEGA example
opt.res <- residualEGA(data = data, manifests = colnames(optimism),
lat = 1, negative.items = c(3,7,9), plot = TRUE)
# Fit:
opt.res$Fit
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab