Closed lf-araujo closed 2 years ago
Thanks for trying this feature – fixed now!
refModels
wasn't being passed through the chain from 'umxRAM' to xmu_safe_run_summary
to umxSummary.MxModel
library(umx)
mtcars$litres = mtcars$disp/61.2
m1 = umxRAM("auto refs", tryHard="yes", data = mtcars,
umxPath(v.m. = c("litres", "wt", "mpg")),
umxPath("litres", to = "mpg"),
umxPath("litres", with = "wt")
)
m2 = umxRAM("no refs", refModels = FALSE, tryHard="yes", data = mtcars,
umxPath(v.m. = c("litres", "wt", "mpg")),
umxPath("litres", to = "mpg"),
umxPath("litres", with = "wt")
)
plot(m2, std = T, means = FALSE)
@lf-araujo
It's my understanding from the manual that setting the switch refModels = FALSE in umxRAM would skip reference models part, however it does not seem to work:
umx 4.10.50