[R] Mplus in R

2016-06-16 Thread Birhanu Worku
Hi everyone why this code is not running ? here is it; library(MplusAutomation) res <- mplusModeler( mplusObject( MODEL = "mpg ON wt hp; wt WITH hp;", rdata = mtcars), "mtcars.dat", run = 1L) summary(res) note that mtcars is the data in r The out put; "No R variables to use specified.

[R] Mplus and R

2007-11-01 Thread Jeff Miller
Has anyone successfully linked Mplus and R and have code on how to do it? It would be great to use R to simulate datasets and then ship to Mplus for SEM analysis. I know one researcher who does this quite regularly but I can’t get ahold of him right now. Sincerely, Jeff Miller