Description Usage Arguments Value
Write .dat data file for Mplus. Note variable names are printed to the console.
1 | write.mplus(d, fileName, dir = getwd(), na.string = "999", ...)
|
d |
Data frame to write out. |
fileName |
Name of the file to be written out. Note that the extension is added automatically, and only the file name should be supplied. |
dir |
Directory to write the file. Defaults to the current working directory. |
na.string |
String to fill in missing values. Defaults to "999" |
... |
Additional arguments passed to |
Mplus .dat file written to the current working directory, with variable names printed to the console (for easy copy and paste into a .inp Mplus file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.