An R Package for Facilitating Large-Scale Latent Variable Analyses in Mplus
Extract Mplus results
Get Initial Tags
Extract a multiline section from Mplus output
Get Output File List
Load the draws from the Bayesian model posterior distribution (SAVEDAT...
Load an analysis dataset from the SAVEDATA command into an R data.fram...
Read Variable Names, Formats, and Widths from data generated by the SA...
Get an Output Section
Create a graphic model from Mplus
Read in Mplus Output File from HTML on the Mplus Website
Add a node to a GRAPHVIZ model
Change directory
Classifies Tags
Clip String
Return coefficients for an mplus.model object
Compare the output of two Mplus models
Return confidence intervals for an mplus.model object
Connect two nodes
Create syntax for a batch of mixture models
Create Mplus Input Files from Template
Create the Mplus input text for an mplusObject
Create Mplus syntax for variable names
Detect Column Names
Detect the location/name of the Mplus command
Automatically detect variables from an Mplus model object
Divide text into fields
Convert a matrix or data frame to numeric or integer for Mplus
Internal Function for Multinomial Regression in Mplus
Evaluate Conditional
Extract function to make Mplus output work with the texreg
package
Extract Auxiliary condition means and comparisons.
Extract Latent Class Counts
Function to extract the SUMMARY OF DATA section from Mplus outputs
Extract the model parameters from an EFA Mplus model output
Extract Factor Score Statistics
Extract free file output
Extract Indirect Effects output
Extract Indirect Effects output
Extract and parse Mplus input file
Extract model parameters from MODEL RESULTS section.
Extract summary statistics from a single output file or from a group o...
Extract model modification indices.
Extract Modification Indices for One Chunk (Section)
Extract Modification Indices for One File
Extract Parameters for One Chunk
Extract Parameters for One File
Extract Parameters for One Section
Extract residual matrices
Helper subfunction to extract one section of OUTPUT: RESIDUALS Can be ...
Helper function to extract the sample statistics from Mplus output Dep...
Extract the summaries from one file
Worker function used in extractSummaries_1section
Extract summary information for one section from Mplus output
Extract Technical 1 matrix from Mplus
Extract Technical 10 matrix from Mplus
Extract Technical 12 from Mplus
Extract Technical 15 from Mplus
Extract Technical 3 matrix from Mplus
Extract Technical 4 matrix from Mplus
Extract Technical 7 from Mplus
Extract Technical 8 from Mplus
Extract Technical 9 matrix from Mplus
Extract values from Mplus output An internal function used by extractS...
Extract warnings and errors from 1 mplus file
Finalize Init Collection
Friendly Regular Expression
Small helper function to obtain number of factors for an EFA output se...
Create an HTML file containing a summary table of Mplus model statisti...
Check whether a useable function argument was provided
Internal function to load the draws from the Bayesian model posterior ...
local function that does the work of getSaveData_Fileinfo
Internal function to load the draws from the Bayesian model posterior ...
Display summary table of Mplus model statistics in separate window
Long data to wide latent growth mixture model
Simple tag lookup
Lookup the matrix element for a give parameter number
Lookup values
Reconstruct matrix from multi-line text output
Create a summary table of Mplus mixture models
Plot the samples for each MCMC chain as a function of iterations
Convert Mplus Number to Numeric
Automating Mplus Model Estimation and Interpretation
Clean data and calculate the md5 hash
Check whether Mplus can be found
Function to fit GLMs in Mplus
Create, run, and read Mplus models.
Create an Mplus model object
Create Mplus code for various residual covariance structures.
Functions to identify the operating system
Extract parameters from a data frame of Mplus estimates
Parse Categorical Output
Check Mplus code for missing semicolons or too long lines.
Parses tags in the body section
Plot coefficients for an mplusObject
Plot growth mixture models
Plot latent transition model
Create density plots for mixture models
Create latent profile plots
Create tab-delimited file and Mplus input syntax from R data.frame
Prepare Mplus Data Matrix
Print an Mplus Residual Structure object
Process Conditional Tags
Process the Init Section
Read Parameters, Summary Statistics, and Savedata from Mplus Output
Recursive replace
Replace Body Tags
Replace Init Tags
Remove variable name length warnings from Mplus output file
Run Mplus Models
Run Mplus Models Using Graphical Interface
Separate Hyphenated Variable Strings
Display summary table of Mplus model statistics in separate window
Split a data frame into a list by rows
Split File and Path into Separate Parts
Subset a list of Mplus model results
Summarize an mplusObject
Create a summary table of Mplus model statistics
Test inequality-constrained hypothesis for two or more parameters base...
Test inequality-constrained hypothesis for two parameters based on ite...
Train a variety of latent growth mixture model
Trim White Space
Reconstruct matrix from unlabeled multi-line text output
Update an Mplus model object
Updates current values
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 (<https://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.
Useful links