Learn R Programming

MplusAutomation (version 1.1.1)

getSavedata_Data: Load an analysis dataset from the SAVEDATA command into an R data.frame

Description

This function reads an analysis dataset generated by the Mplus SAVEDATA command and returns an R data.frame object.

Usage

getSavedata_Data(outfile)

Value

A data.frame containing the analysis dataset generated by the SAVEDATA command.

Arguments

outfile

Required. The name of the Mplus output file to read. Can be an absolute or relative path. If outfile is a relative path or just the filename, then it is assumed that the file resides in the working directory getwd().

Author

Michael Hallquist

See Also

getSavedata_Fileinfo

Examples

Run this code
if (FALSE) {
  savedat <- getSavedata_Data("C:/Program Files/Mplus/Test Output.out")
}

Run the code above in your browser using DataLab