powered by
This function generates the initial itemwise aMNLFA models.
write.inp.file(df, outfile)
- the Mplus code to be written out, in a data frame
- a directory to which the Mplus code should be written
outcharacter - string with slash at the end deleted
# NOT RUN { # } # NOT RUN { wd <- tempdir() somestring <- as.data.frame("This is some text which would be written to an Mplus file.") write.inp.file(somestring, wd) # }
Run the code above in your browser using DataLab