l_getSavedata_readRawFile: Internal function to load the draws from the Bayesian model...

View source: R/extractSaveData.R

l_getSavedata_readRawFileR Documentation

Internal function to load the draws from the Bayesian model posterior distribution

Description

This function is used by other extractor functions that read particular types of saved data such as factor scores or iterations from an MCMC chain.

Usage

l_getSavedata_readRawFile(
  outfile,
  outfiletext,
  format = "fixed",
  fileName,
  varNames,
  varWidths,
  input
)

Arguments

outfile

The Mplus output file to be used.

outfiletext

The contents of the Mplus output file

format

A character string indicating the format. Defaults to “fixed”.

fileName

The name of the file

varNames

The names of the variables to extract, comes from the fileInfo

varWidths

The widths of the variables to extract, comes from the fileInfo

input

list of parsed Mplus input section extracted upstream in readModels

Value

A data frame of the extracted data.


MplusAutomation documentation built on May 29, 2024, 5:29 a.m.