Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


MplusAutomation (version 0.6-1)

l_getSavedata_Fileinfo: local function that does the work of getSaveData_Fileinfo

Description

This function is split out so that getSaveData_Fileinfo is exposed to the user, but the parsing function can be used by readModels

Usage

l_getSavedata_Fileinfo(outfile, outfiletext)

Arguments

outfile
A character string giving the name of the Mplus output file.
outfiletext
The contents of the output file, for example as read by scan

Value

  • A list that includes:
  • fileNameThe name of the file containing the analysis dataset created by the Mplus SAVEDATA command.
  • fileVarNamesA character vector containing the names of variables in the dataset.
  • fileVarFormatsA character vector containing the Fortran-style formats of variables in the dataset.
  • fileVarWidthsA numeric vector containing the widths of variables in the dataset (which is stored in fixed-width format).
  • bayesFileThe name of the BPARAMETERS file containing draws from the posterior distribution created by the Mplus SAVEDATA BPARAMETERS command.
  • bayesVarNamesA character vector containing the names of variables in the BPARAMETERS dataset.
  • tech3FileA character vector of the tech 3 output.
  • tech4FileA character vector of the tech 4 output.

See Also

getSavedata_Data

Examples

Run this code
# make me!

Run the code above in your browser using DataLab