write.mplus: Write .dat data file for Mplus. Note variable names are...

Description Usage Arguments Value

View source: R/write.mplus.R

Description

Write .dat data file for Mplus. Note variable names are printed to the console.

Usage

1
write.mplus(d, fileName, dir = getwd(), na.string = "999", ...)

Arguments

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 write.table

Value

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)


datalorax/sundry documentation built on April 11, 2021, 1:50 p.m.