Package: MplusAutomation 1.2

MplusAutomation: An R Package for Facilitating Large-Scale Latent Variable Analyses in Mplus

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.

Authors:Michael Hallquist [aut, cre], Joshua Wiley [aut], Caspar van Lissa [ctb], Daniel Morillo [ctb]

MplusAutomation_1.2.tar.gz
MplusAutomation_1.2.zip(r-4.5)MplusAutomation_1.2.zip(r-4.4)MplusAutomation_1.2.zip(r-4.3)
MplusAutomation_1.2.tgz(r-4.4-any)MplusAutomation_1.2.tgz(r-4.3-any)
MplusAutomation_1.2.tar.gz(r-4.5-noble)MplusAutomation_1.2.tar.gz(r-4.4-noble)
MplusAutomation_1.2.tgz(r-4.4-emscripten)MplusAutomation_1.2.tgz(r-4.3-emscripten)
MplusAutomation.pdf |MplusAutomation.html
MplusAutomation/json (API)
NEWS

# Install 'MplusAutomation' in R:
install.packages('MplusAutomation', repos = c('https://michaelhallquist.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/michaelhallquist/mplusautomation/issues

Datasets:
  • lcademo - Latent Class Analysis Demonstration

On CRAN:

67 exports 82 stars 5.66 score 51 dependencies 12 dependents 29 mentions 618 scripts 3.9k downloads

Last updated 13 days agofrom:e05de897b7. Checks:OK: 1 ERROR: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 04 2024
R-4.5-winERRORSep 04 2024
R-4.5-linuxERRORSep 04 2024
R-4.4-winERRORSep 04 2024
R-4.4-macERRORSep 04 2024
R-4.3-winERRORSep 04 2024
R-4.3-macERRORSep 04 2024

Exports:cdcheckSubmissioncompareModelscreateMixturescreateModelscreateSyntaxdetectMplusdetectVariablesextractextract.mplus.modelextract.mplusObjectget_bparametersget_class_countsget_covariance_coverageget_data_summaryget_fac_score_statsget_gh5get_indirectget_inputget_invariance_testingget_lcCondMeansget_mod_indicesget_parametersget_residualsget_resultsget_sampstatget_savedataget_summariesget_tech1get_tech10get_tech12get_tech15get_tech3get_tech4get_tech7get_tech8get_tech9get_warn_errHTMLSummaryTableLatexSummaryTablelong2LGMMlookupTech1ParametermixtureSummaryTablemplus.traceplotmplusAvailablemplusGLMmplusModelmplusModelermplusObjectmplusRcovparamExtractparseCatOutputparseMplusplotGrowthMixturesplotLTAplotMixtureDensitiesplotMixturesprepareMplusDatareadModelsrunModelsrunModels_InteractiveshowSummaryTablesubmitModelsSummaryTabletestBParamCompoundConstrainttestBParamConstrainttrainLGMM

Dependencies:askpassbackportsbootcheckmateclicodacolorspacecurldata.tabledigestfansifarverfastDummiesggplot2gluegsubfngtablehttrisobandjsonlitelabelinglatticelifecyclemagrittrMASSMatrixmgcvmimemunsellnlmeopensslpanderpillarpkgconfigplyrprotoR6RColorBrewerRcpprlangscalesstringistringrsystexregtibbleutf8vctrsviridisLitewithrxtable

MplusAutomation Examples

Rendered fromvignette.Rmdusingknitr::rmarkdownon Sep 04 2024.

Last update: 2024-03-12
Started: 2020-02-16

Readme and manuals

Help Manual

Help pageTopics
Internal Function for Multinomial Regression in Mplus.mplusMultinomial
Change directorycd
check on the status of submitted Mplus jobs on the clustercheckSubmission
Return coefficients for an mplus.model objectcoef.mplus.model coef.mplusObject
Compare the output of two Mplus modelscompareModels
Return confidence intervals for an mplus.model objectconfint.mplus.model confint.mplusObject
Create syntax for a batch of mixture modelscreateMixtures
Create Mplus Input Files from TemplatecreateModels
Create the Mplus input text for an mplusObjectcreateSyntax
Detect the location/name of the Mplus commanddetectMplus
Extract function to make Mplus output work with the 'texreg' packageextract extract,mplus.model-method extract,mplusObject-method extract.mplus.model extract.mplusObject
Extract Mplus resultsget_bparameters get_class_counts get_covariance_coverage get_data_summary get_fac_score_stats get_gh5 get_indirect get_input get_invariance_testing get_lcCondMeans get_mod_indices get_parameters get_residuals get_results get_sampstat get_savedata get_summaries get_tech1 get_tech10 get_tech12 get_tech15 get_tech3 get_tech4 get_tech7 get_tech8 get_tech9 get_warn_err
Create an HTML file containing a summary table of Mplus model statisticsHTMLSummaryTable
Display summary table of Mplus model statistics in separate windowLatexSummaryTable
Latent Class Analysis Demonstrationlcademo
Long data to wide latent growth mixture modellong2LGMM
Lookup the matrix element for a give parameter numberlookupTech1Parameter
Create a summary table of Mplus mixture modelsmixtureSummaryTable
Plot the samples for each MCMC chain as a function of iterationsmplus.traceplot
Automating Mplus Model Estimation and InterpretationMplusAutomation
Check whether Mplus can be foundmplusAvailable
Function to fit GLMs in MplusmplusGLM
Create an mplusModel object for a given modelmplusModel
Create, run, and read Mplus models.mplusModeler
Create an Mplus model objectmplusObject
Create Mplus code for various residual covariance structures.mplusRcov
Extract parameters from a data frame of Mplus estimatesparamExtract
Parse Categorical OutputparseCatOutput
Check Mplus code for missing semicolons or too long lines.parseMplus
Convert an Mplus syntax string into a parsed listparseMplusSyntax
Plot coefficients for an mplusObjectplot.mplusObject
Create density plots for mixture modelsplotMixtureDensities
Create latent profile plotsplotMixtures
Create tab-delimited file and Mplus input syntax from R data.frameprepareMplusData
Print an Mplus Residual Structure objectprint.MplusRstructure
Read Parameters, Summary Statistics, and Savedata from Mplus OutputreadModels
Run Mplus ModelsrunModels
Run Mplus Models Using Graphical InterfacerunModels_Interactive
Separate Hyphenated Variable StringsseparateHyphens
Display summary table of Mplus model statistics in separate windowshowSummaryTable
Submit Mplus models to a high-performance cluster schedulersubmitModels
summary function for submission from 'submitModels'summary.mplus_submission_df
Summarize an mplusObjectsummary.mplusObject
Create a summary table of Mplus model statisticsSummaryTable
Test inequality-constrained hypothesis for two or more parameters based on iterations of MCMC chainstestBParamCompoundConstraint
Test inequality-constrained hypothesis for two parameters based on iterations of MCMC chainstestBParamConstraint
Train a variety of latent growth mixture modeltrainLGMM
Update an Mplus model objectupdate.mplusObject