MplusAutomation: Automating Mplus Model Estimation and Interpretation

Leverages the R language to automate latent variable model estimation and interpretation using Mplus, a powerful latent variable modeling program developed by Muthen and Muthen (www.statmodel.com). Specifically, this package provides routines for creating related groups of models, running batches of models, and extracting and tabulating model parameters and fit statistics.

AuthorMichael Hallquist [aut, cre], Joshua Wiley [aut]
Date of publication2016-06-09 13:17:53
MaintainerMichael Hallquist <michael.hallquist@gmail.com>
LicenseLGPL-3
Version0.6-4
https://github.com/michaelhallquist/MplusAutomation

View on CRAN

Man pages

addHeaderToSavedata: Add header to saved data

addNode: Add a node to a GRAPHVIZ model

cd: Change directory

classifyTags: Classifies Tags

clipString: Clip String

coef.mplus.model: Return coefficients for an mplus.model object

compareModels: Compare the output of two Mplus models

connectNodes: Connect two nodes

createModels: Create Mplus Input Files from Template

createSyntax: Create the Mplus input text for an mplusObject

createVarSyntax: Create Mplus syntax for variable names

divideIntoFields: Divide text into fields

evaluateConditional: Evaluate Conditional

extract: Extract function to make Mplus output work with the 'texreg'...

extractAux: Extract Auxiliary condition means and comparisons.

extractClassCounts: Extract Latent Class Counts

extractFacScoreStats: Extract Factor Score Statistics

extractFreeFile: Extract free file output

extractInput_1file: Extract and parse Mplus input file

extractModelParameters: Extract model parameters from MODEL RESULTS section.

extractModelSummaries: Extract summary statistics from a single output file or from...

extractModIndices: Extract model modification indices.

extractModIndices_1chunk: Extract Modification Indices for One Chunk (Section)

extractModIndices_1file: Extract Modification Indices for One File

extractParameters_1chunk: Extract Parameters for One Chunk

extractParameters_1file: Extract Parameters for One File

extractParameters_1section: Extract Parameters for One Section

extractResiduals: Extract residual matrices

extractSummaries_1file: Extract the summaries from one file

extractSummaries_1plan: Worker function used in extractSummaries_1section

extractSummaries_1section: Extract summary information for one section from Mplus output

extractTech1: Extract Technical 1 matrix from Mplus

extractTech10: Extract Technical 10 matrix from Mplus

extractTech12: Extract Technical 12 from Mplus

extractTech3: Extract Technical 3 matrix from Mplus

extractTech4: Extract Technical 4 matrix from Mplus

extractTech7: Extract Technical 7 from Mplus

extractTech9: Extract Technical 9 matrix from Mplus

extractValue: Extract values from Mplus output An internal function used by...

extractWarningsErrors_1file: Extract warnings and errors from 1 mplus file

finalizeInitCollection: Finalize Init Collection

getInitTags: Get Initial Tags

getMultilineSection: Extract a multiline section from Mplus output

getSavedata_Bparams: Load the draws from the Bayesian model posterior distribution...

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

getSavedata_Fileinfo: Read Variable Names, Formats, and Widths from data generated...

graphModel: Create a graphic model from Mplus

HTMLSummaryTable: Create an HTML file containing a summary table of Mplus model...

LatexSummaryTable: Display summary table of Mplus model statistics in separate...

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

l_getSavedata_Fileinfo: local function that does the work of getSaveData_Fileinfo

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

lookupSimpleTags: Simple tag lookup

lookupTech1Parameter: Lookup the matrix element for a give parameter number

lookupValue: Lookup values

matrixExtract: Reconstruct matrix from multi-line text output

MplusAutomation: Automating Mplus Model Estimation and Interpretation

mplusModeler: Create, run, and read Mplus models.

mplusObject: Create an Mplus model object

mplusRcov: Create Mplus code for various residual covariance structures.

mplus.traceplot: Plot the samples for each MCMC chain as a function of...

paramExtract: Extract parameters from a data frame of Mplus estimates

parseMplus: Check Mplus code for missing semicolons or too long lines.

parseTags: Parses tags in the body section

plot.mplusObject: Plot coefficients for an mplusObject

prepareMplusData: Create tab-delimited file and Mplus input syntax from R...

prepareMplusData_Mat: Prepare Mplus Data Matrix

print.MplusRstructure: Print an Mplus Residual Structure object

processConditionalTags: Process Conditional Tags

processInit: Process the Init Section

readModels: Read Parameters, Summary Statistics, and Savedata from Mplus...

recurseReplace: Recursive replace

replaceBodyTags: Replace Body Tags

replaceInitTags: Replace Init Tags

rmVarWarnings: Remove variable name length warnings from Mplus output file

runModels: Run Mplus Models

runModels_Interactive: Run Mplus Models Using Graphical Interface

showSummaryTable: Display summary table of Mplus model statistics in separate...

splitDFByRow: Split a data frame into a list by rows

subsetModelList: Subset a list of Mplus model results

summary.mplusObject: Summarize an mplusObject

SummaryTable: Create a summary table of Mplus model statistics

testBParamCompoundConstraint: Test inequality-constrained hypothesis for two or more...

testBParamConstraint: Test inequality-constrained hypothesis for two parameters...

unlabeledMatrixExtract: Reconstruct matrix from unlabeled multi-line text output

updateCurrentValues: Updates current values

update.mplusObject: Update an Mplus model object

Files in this package

MplusAutomation
MplusAutomation/inst
MplusAutomation/inst/doc
MplusAutomation/inst/doc/Vignette.Rnw
MplusAutomation/inst/doc/Vignette.pdf
MplusAutomation/NAMESPACE
MplusAutomation/NEWS
MplusAutomation/R
MplusAutomation/R/runModels.R MplusAutomation/R/extractParameters.R MplusAutomation/R/createModels.R MplusAutomation/R/MplusAutomation.R MplusAutomation/R/compareModels.R MplusAutomation/R/graphModels.R MplusAutomation/R/methods.R MplusAutomation/R/extractAuxDis.R MplusAutomation/R/parseOutput.R MplusAutomation/R/utilityFunctions.R MplusAutomation/R/extractModIndices.R MplusAutomation/R/extractSaveData.R MplusAutomation/R/summary.R MplusAutomation/R/mplus.R
MplusAutomation/vignettes
MplusAutomation/vignettes/mplusAutomationFMMPlot.png
MplusAutomation/vignettes/Vignette.Rnw
MplusAutomation/vignettes/runModels_Interactive-Screenshot.png
MplusAutomation/README.md
MplusAutomation/MD5
MplusAutomation/build
MplusAutomation/build/vignette.rds
MplusAutomation/DESCRIPTION
MplusAutomation/man
MplusAutomation/man/plot.mplusObject.Rd MplusAutomation/man/testBParamCompoundConstraint.Rd MplusAutomation/man/rmVarWarnings.Rd MplusAutomation/man/HTMLSummaryTable.Rd MplusAutomation/man/matrixExtract.Rd MplusAutomation/man/getSavedata_Bparams.Rd MplusAutomation/man/l_getSavedata_Fileinfo.Rd MplusAutomation/man/prepareMplusData_Mat.Rd MplusAutomation/man/prepareMplusData.Rd MplusAutomation/man/readModels.Rd MplusAutomation/man/parseMplus.Rd MplusAutomation/man/createSyntax.Rd MplusAutomation/man/testBParamConstraint.Rd MplusAutomation/man/updateCurrentValues.Rd MplusAutomation/man/divideIntoFields.Rd MplusAutomation/man/extractSummaries_1file.Rd MplusAutomation/man/classifyTags.Rd MplusAutomation/man/extractModelParameters.Rd MplusAutomation/man/extractTech3.Rd MplusAutomation/man/extractSummaries_1section.Rd MplusAutomation/man/getInitTags.Rd MplusAutomation/man/lookupSimpleTags.Rd MplusAutomation/man/replaceBodyTags.Rd MplusAutomation/man/evaluateConditional.Rd MplusAutomation/man/compareModels.Rd MplusAutomation/man/extractModIndices.Rd MplusAutomation/man/getMultilineSection.Rd MplusAutomation/man/getSavedata_Data.Rd MplusAutomation/man/mplus.traceplot.Rd MplusAutomation/man/extractValue.Rd MplusAutomation/man/showSummaryTable.Rd MplusAutomation/man/extractTech12.Rd MplusAutomation/man/replaceInitTags.Rd MplusAutomation/man/LatexSummaryTable.Rd MplusAutomation/man/extractSummaries_1plan.Rd MplusAutomation/man/mplusModeler.Rd MplusAutomation/man/subsetModelList.Rd MplusAutomation/man/createVarSyntax.Rd MplusAutomation/man/extractFreeFile.Rd MplusAutomation/man/print.MplusRstructure.Rd MplusAutomation/man/extractParameters_1file.Rd MplusAutomation/man/lookupTech1Parameter.Rd MplusAutomation/man/finalizeInitCollection.Rd MplusAutomation/man/parseTags.Rd MplusAutomation/man/extractModelSummaries.Rd MplusAutomation/man/processInit.Rd MplusAutomation/man/extractTech7.Rd MplusAutomation/man/update.mplusObject.Rd MplusAutomation/man/mplusObject.Rd MplusAutomation/man/extractTech10.Rd MplusAutomation/man/recurseReplace.Rd MplusAutomation/man/extractModIndices_1file.Rd MplusAutomation/man/SummaryTable.Rd MplusAutomation/man/extractModIndices_1chunk.Rd MplusAutomation/man/extractFacScoreStats.Rd MplusAutomation/man/addHeaderToSavedata.Rd MplusAutomation/man/mplusRcov.Rd MplusAutomation/man/summary.mplusObject.Rd MplusAutomation/man/getSavedata_Fileinfo.Rd MplusAutomation/man/lookupValue.Rd MplusAutomation/man/l_getSavedata_Bparams.Rd MplusAutomation/man/cd.Rd MplusAutomation/man/graphModel.Rd MplusAutomation/man/processConditionalTags.Rd MplusAutomation/man/coef.mplus.model.Rd MplusAutomation/man/connectNodes.Rd MplusAutomation/man/clipString.Rd MplusAutomation/man/MplusAutomation.Rd MplusAutomation/man/splitDFByRow.Rd MplusAutomation/man/unlabeledMatrixExtract.Rd MplusAutomation/man/extractInput_1file.Rd MplusAutomation/man/extractWarningsErrors_1file.Rd MplusAutomation/man/runModels.Rd MplusAutomation/man/extractParameters_1section.Rd MplusAutomation/man/extractClassCounts.Rd MplusAutomation/man/extractResiduals.Rd MplusAutomation/man/createModels.Rd MplusAutomation/man/extract.Rd MplusAutomation/man/extractTech1.Rd MplusAutomation/man/extractTech4.Rd MplusAutomation/man/paramExtract.Rd MplusAutomation/man/extractTech9.Rd MplusAutomation/man/extractAux.Rd MplusAutomation/man/extractParameters_1chunk.Rd MplusAutomation/man/addNode.Rd MplusAutomation/man/runModels_Interactive.Rd MplusAutomation/man/l_getSavedata_readRawFile.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.