Description Usage Arguments Value Examples
View source: R/write_inp_file.R View source: R/aMNLFA_sample.R
This function generates the initial itemwise aMNLFA models.
1 | write.inp.file(df, outfile)
|
df |
- the Mplus code to be written out, in a data frame |
outfile |
- a directory to which the Mplus code should be written |
outcharacter - string with slash at the end deleted
1 2 3 4 | wd <- tempdir()
first<-paste0(system.file(package='aMNLFA'),"/examplefiles")
somestring <- as.data.frame("This is some text which would be written to an Mplus file.")
write.inp.file(somestring, first)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.