write_dat | R Documentation |
this function writes R matrix objects as .dat text files to be read by Mplus.
write_dat(ob, file = paste(deparse(substitute(ob)), ".dat", sep = ""), ...)
ob |
the R-object to be written as .dat file. |
file |
optionally the name of the .dat file as character - default is 'objectname'.dat. |
... |
additional parameters passed through. |
no details.
a .dat text file by default written in the current workspace directory.
## writing R-object example1 as example1.dat
## Not run:
data(example1)
write_dat(example1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.