write.inp.file {aMNLFA}R Documentation

helper function for writing out Mplus inputs

Description

This function generates the initial itemwise aMNLFA models.

Usage

write.inp.file(df, outfile)

Arguments

df

- the Mplus code to be written out, in a data frame

outfile

- a directory to which the Mplus code should be written

Value

outcharacter - string with slash at the end deleted

Examples


 ## 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)
 
## End(Not run)

[Package aMNLFA version 1.1.2 Index]