# NOT RUN {
createMixtures(classes = 1:4, filename_stem = "cars",
model_overall = "wt ON drat;",
model_class_specific = "wt; qsec;",
rdata = mtcars,
usevariables = c("wt", "qsec", "drat"),
OUTPUT = "standardized")
runModels(replaceOutfile = "modifiedDate")
cars_results <- readModels(filefilter = "cars")
plotMixtures(cars_results, rawdata = TRUE)
# }
# NOT RUN {
plotMixtures(cars_results, variables = "wt")
# }
# NOT RUN {
plotMixtures(cars_results, coefficients = "stdyx.standardized")
# }
Run the code above in your browser using DataLab