Learn R Programming

MplusAutomation (version 1.1.1)

extractParameters_1chunk: Extract Parameters for One Chunk

Description

Helper function for extractModelParameters. Used to parse each subsection of output within a given file and given results section (e.g., stdyx section) There will be many chunks if latent classes, multiple groups, multilevel features are used.

Usage

extractParameters_1chunk(filename, thisChunk, columnNames, sectionName)

Value

A data frame (or matrix?)

Arguments

filename

name of Mplus output file being processed

thisChunk

character vector of output chunk from which to extract parameter values

columnNames

character vector of expected column names for output chunk