if (FALSE) {
res <- createMixtures(classes = 1:2, filename_stem = "cars",
                      model_overall = "wt ON drat;",
                      model_class_specific = "wt;  qsec;",
                      rdata = mtcars,
                      usevariables = c("wt", "qsec", "drat"),
                      OUTPUT = "standardized",
                      run = 1L)
plotMixtures(res, rawdata = TRUE)
}
if (FALSE) {
plotMixtures(res, variables = "wt")
}
if (FALSE) {
plotMixtures(res, coefficients = "stdyx.standardized")
}
Run the code above in your browser using DataLab