View source: R/write_mplus_data.R
write_mplus_data | R Documentation |
This function modifies prepareMplusData
from the MplusAutomation
package. It changes the working directory to allow you to get a shortened file name in the pasted syntax.
write_mplus_data(df, wd_for_analysis, filename, writeData, hashfilename)
df |
Argument used by |
wd_for_analysis |
Working directory where you want your .dat file to be saved. This is where your .inp file should also be saved. |
filename |
Argument used by |
writeData |
Argument used by |
hashfilename |
Argument used by |
Writes .dat file formatted for Mplus to the proper working directory. It also returns the Mplus syntax to copy/paste into a .inp file that goes into the same working directory.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.