Structural Equation Modeling and Twin Modeling in R
Overview
Quickly create, run, and report structural equation and twin models. See '?umx' for help, and umx_open_CRAN_page("umx") for NEWS. Citations are: * Timothy C. Bates, Michael C. Neale, Hermine H. Maes, (2019). umx: A library for Structural Equation and Twin Modelling in R. Twin Research and Human Genetics, 22, 27-41. doi:10.1017/thg.2019.2. * Luis F.S. Castro-de-Araujo, Nathan A. Gillespie, Michael C. Neale, and Timothy Charles Bates (2026). umx version 4.5: Extending Twin and Path-Based SEM in R with CLPM, MR-DoC, Definition Variables, Onyx Integration, and Censored Distributions. Twin Research and Human Genetics, 1-6. doi:10.1017/thg.2026.10056.
Install
Health
- OK13 OK2026-10-14
- NOTE12 OK, 1 NOTE2026-07-11
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-06-06
Show 4 earlier changesHide 4 earlier changes
- NOTE12 OK, 1 NOTE2026-06-04
- OK13 OK2026-05-19
- NOTE10 OK, 2 NOTE2026-04-25
- ERROR9 OK, 4 NOTE, 1 ERROR2026-03-10
Documentation
- Help pages
- 435 (11 internal)includes a package overview page
- Examples that run
- 47%165 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran) · 174 never run · 10 hold no code
- Exported functions with examples
- 88%
- Documented parameters
- 98%
- Return-value docs
- 96%
- Help pages citing references
- 44%
Downloads
Repository
- PRs merged (all time)
- 73%
- Median days to close, 50 most recently updated closed issues
- 266
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/tbates/umx on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
This repository shows signs of AI coding tools.
- Julesfirst seen 2026-01-12Pull request: opened by its own account
- GitHub Copilotfirst seen 2026-07-02Commits: at least 5 crediting it in the message
Dependencies
Installing umx adds 103 packages (60 with compiled code, 97 MB of source tarballs). Heaviest: BH 14 MB, stringi 11 MB, ggplot2 6.0 MB.
Code & Tests
Datasets
People & History
Maintainer since 0.50 (2015)
Show 4 peopleHide 4 people
Pick two releases to compare their code metrics.
- 4.80.1Latest2026-10-13 · current release · diff ↗ ·
removed 1 export
umx_ICA_reportadded 1 export
umx_scholastica_report - 4.80.02026-10-11 · diff ↗ ·
removed 15 exports
fin_CAGR, fin_FIF, fin_JustifiedPE, fin_NI, fin_StockCAGR, fin_carryCost, fin_expected, fin_interest, fin_net_present_value, fin_option, fin_percent, fin_ticker, fin_valuation, umx_get_alphas, xmuMakeDeviationThresholdsMatricesadded 77 exports
aic_weights, calculateStrictSb, fin_options_Greeks, fin_options_LeapSimulate, fin_options_plotGreeks, fin_options_teach, fin_resolveVolatility, fin_stock_CAGR, fin_stock_justifiedPE, fin_stock_target, fin_stock_ticker, fin_stock_valuation, fin_tax_FIF, fin_tax_NI, fin_value_CAGR, fin_value_CarryCost, fin_value_NPV, fin_value_interest, fin_value_percent, gh_feature_branch, gh_message_search, gh_open_PR_url, mx_make, prolific_scoring_stub, umxACE_DE, umxACE_GLM, umxCloud, umxGSEM, umxGSEM_GWAS, umxGSEM_dl_tutorial_files and 47 more - 4.65.02026-05-18 · diff ↗ ·
added 6 exports
fin_FIF, fin_StockCAGR, fin_carryCost, fin_option, umx_log_wide_twin_data, umx_yj_wide_twin_data - RR 4.6.0 released · 2026-04-24
- 4.60.0
- unarchivedReturned to CRAN2025-10-21
- 4.59.02025-10-21 · diff ↗ ·
removed 2 exports
umx_set_plot_use_hrbrthemes, xmu_scale_wide_dataadded 7 exports
fin_expected, fin_net_present_value, umxPlotPredict, umx_get_alphas, umx_wide2longTwinData, umx_wide4lmer, xmu_update_covar - archivedRemoved from CRAN2025-09-09requires archived package 'hrbrthemes'
- RR 4.5.0 released · 2025-04-11
- 4.21.02024-11-15 · diff ↗ ·
added 3 exports
xmu_equate_threshold_values, xmu_relevel_factors, xmu_scale_wide_data - RR 4.4.0 released · 2024-04-24
- 4.20.02024-04-11 · diff ↗
- unarchivedReturned to CRAN2023-11-16
- 4.19.0
- archivedRemoved from CRAN2023-11-14issues were not corrected in time
- 4.16.02023-08-24 · diff ↗ ·
removed 1 export
umx_read_prolific_demogadded 8 exports
ggAddR, prolific_anonymize, prolific_read_demog, umxCLPM, umxMRDoC, umxMatrixFree, umxSummaryMRDoC, umx_strings2numeric
Show 50 earlier eventsHide 50 earlier events
- RR 4.3.0 released · 2023-04-21
- 4.15.12022-09-20 · diff ↗ ·
added 7 exports
prolific_check_ID, umxDiffMZ, umxDiscTwin, umxParan, umxPlot, umx_merge_randomized_columns, umx_set_dollar_symbol - RR 4.2.0 released · 2022-04-22
- 4.10.50
- 4.10.10
- 4.9.0
- unarchivedReturned to CRAN2021-05-31
- 4.8.02021-05-31 · diff ↗ ·
removed 1 export
fin_compound_interestadded 6 exports
bucks, fin_interest, fin_valuation, libs, umxModelNames, xmu_summary_RAM_group_parameters - archivedRemoved from CRAN2021-05-27check problems were not corrected in time
- RR 4.1.0 released · 2021-05-18
- 4.3.02021-01-24 · diff ↗ ·
removed 1 export
fin_percent_offadded 5 exports
fin_percent, umxPlotFun, umx_lower.tri, umx_set_plot_use_hrbrthemes, xmu_print_algebras - 4.2.52020-12-12 · diff ↗ ·
removed 3 exports
umxLabel, umxValues, umx_set_mvn_optimization_optionsadded 10 exports
fin_compound_interest, fin_percent_off, geometric_mean, harmonic_mean, umx_read_prolific_demog, umx_set_optimization_options, xmuLabel, xmuValues, xmu_bracket_address2rclabel, xmu_rclabel_2_bracket_address - 4.0.02020-05-25 · diff ↗ ·
removed 4 exports
umxACE_cov_fixed, umx_object_as_str, xmu_assemble_twin_supermodel, xmu_make_top_twinadded 16 exports
umxDoCp, umxRenameMatrix, umxTwinMaker, umx_file_load_pseudo, umx_str_chars, umx_str_from_object, xmuTwinSuper_Continuous, xmuTwinUpgradeMeansToCovariateModel, xmu_data_missing, xmu_extract_column, xmu_make_TwinSuperModel, xmu_path2twin, xmu_path_regex, xmu_twin_add_WeightMatrices, xmu_twin_get_var_names, xmu_twin_upgrade_selDvs2SelVars - RR 4.0.0 released · 2020-04-24
- 3.0.62020-02-06 · diff ↗ ·
removed 2 exports
umx_nice_data, umx_pb_noteadded 5 exports
umxDoC, umxPlotDoC, umxRAM2Lav, umxSummaryDoC, umx_make_twin_data_nice - 3.0.52019-12-06 · diff ↗ ·
removed 5 exports
umxAdd1, umxDrop1, umxRAM2Ordinal, umx_fix_first_loadings, umx_fix_latentsadded 1 export
xmuRAM2Ordinal - 3.0.02019-09-19 · diff ↗ ·
removed 34 exports
umxACEold, umxCPold, umxCovData, umxDescribeDataWLS, umxEval, umxIPold, umxLatent, umxPadAndPruneForDefVars, umxPlotCPold, umxRAM2, umx_cell_is_on, umx_cov2raw, umx_default_option, umx_dot_define_shapes, umx_dot_mat2dot, umx_dot_rank, umx_drop_ok, umx_make_bin_cont_pair_data, umx_match.arg, umx_merge_CIs, umx_parameters, umx_set_optimization_options, umx_show_fit_or_comparison, umx_standardize_ACE, umx_standardize_ACEcov, umx_standardize_ACEv, umx_standardize_CP, umx_standardize_IP, umx_standardize_RAM, umx_standardize_SexLim and 4 moreadded 38 exports
FishersMethod, SE_from_p, deg2rad, oddsratio, power.ACE.test, rad2deg, umxMendelianRandomization, umxPower, umxRotate, umx_make_raw_from_cov, umx_nice_data, umx_select_valid, umx_set_mvn_optimization_options, umx_set_separator, umx_set_silent, xmu_CI_merge, xmu_CI_stash, xmu_DF_to_mxData_TypeCov, xmu_PadAndPruneForDefVars, xmu_cell_is_on, xmu_check_needs_means, xmu_data_swap_a_block, xmu_describe_data_WLS, xmu_dot_define_shapes, xmu_dot_mat2dot, xmu_dot_rank, xmu_make_bin_cont_pair_data, xmu_match.arg, xmu_name_from_lavaan_str, xmu_show_fit_or_comparison and 8 more - RR 3.6.0 released · 2019-04-26
- 2.10.02019-04-25 · diff ↗ ·
removed 9 exports
umxACEnew, umxIPnew, umxPlotCPnew, umx_APA_model_CI, umx_add_variances, umx_graphviz_rank, umx_mat2dot, umx_show, xmu_make_top_twin_modelsadded 22 exports
tmx_show, umxACEold, umxDescribeDataWLS, umxExamples, umxIPold, umxLav2RAM, umxPlotCPold, umxPlotSexLim, umxRAM2, umx_dot_define_shapes, umx_dot_mat2dot, umx_dot_rank, umx_set_data_variance_check, umx_standardize_SexLim, xmu_check_variance, xmu_clean_label, xmu_dot_move_ranks, xmu_dot_rank_str, xmu_get_CI, xmu_lavaan_process_group, xmu_make_top_twin, xmu_model_needs_means - 2.9.9
- 2.9.02018-12-19 · diff ↗ ·
removed 1 export
xmu_make_topadded 7 exports
umxACEnew, umx_score_scale, xmu_assemble_twin_supermodel, xmu_make_top_twin_models, xmu_safe_run_summary, xmu_set_sep_from_suffix, xmu_starts - 2.8.5
- 2.8.02018-06-19 · diff ↗ ·
removed 3 exports
umxGxE_biv, umxPlotGxE_biv, umxSummaryGxE_bivadded 11 exports
umxCPold, umxGxEbiv, umxIPnew, umxPlotCPnew, umxPlotGxEbiv, umxSummaryGxEbiv, umx_cell_is_on, umx_graphviz_rank, umx_mat2dot, umx_set_optimization_options, xmu_make_top - 2.6.52018-04-30 · diff ↗ ·
added 12 exports
namez, umxAlgebra, umxPlotSimplex, umxSimplex, umxSummarySimplex, umx_polychoric, umx_polypairwise, umx_polytriowise, umx_show_fit_or_comparison, umx_standardize_Simplex, umx_stash_CIs, xmu_simplex_corner - RR 3.5.0 released · 2018-04-23
- 2.4.02018-03-19 · diff ↗
- unarchivedReturned to CRAN2018-02-14
- 2.0.22018-02-14 · diff ↗ ·
removed 4 exports
umxACESexLim, umxCF_SexLim, umxReRun, umx_install_OpenMxadded 9 exports
tmx_genotypic_effect, umxBrownie, umxGxE_biv, umxPlotGxE_biv, umxSexLim, umxSummaryGxE_biv, umxSummarySexLim, umx_array_shift, umx_stack - archivedRemoved from CRAN2018-01-25policy violation (leaving processes running)
- 1.9.12017-11-02 · diff ↗
- 1.9.02017-11-02 · diff ↗ ·
removed 2 exports
umx_get_cores, umx_get_optimizeradded 21 exports
tmx_is.identified, tvars, umxACE_cov_fixed, umxACEv, umxConfint, umxFactorScores, umxParameters, umxPlotACEv, umxReduceACE, umxReduceGxE, umxSummaryACEv, umxSuperModel, umx_is_class, umx_is_numeric, umx_long2wide, umx_parameters, umx_set_plot_file_suffix, umx_standardize, umx_standardize_ACEv, umx_wide2long, xmu_twin_check - RR 3.4.0 released · 2017-04-21
- 1.7.52017-04-07 · diff ↗ ·
removed 1 export
umx_cov_diagadded 5 exports
umx2ord, umxModel, umxVersion, umx_update_OpenMx, umx_var - 1.5.5
- 1.5.1
- 1.5.0
- 1.4.92016-12-05 · diff ↗
- 1.4.52016-11-08 · diff ↗
- 1.4.02016-10-13 · diff ↗ ·
removed 2 exports
getOpenMx, umx_get_OpenMxadded 3 exports
install.OpenMx, umxMatrix, umx_install_OpenMx - 1.3.02016-08-18 · diff ↗ ·
removed 2 exports
umx_RAM_ordinal_objective, umx_sql_from_exceladded 9 exports
mxSE, umxFactanal, umxRAM2Ordinal, umx_explode_twin_names, umx_get_options, umx_is_MxData, umx_make_sql_from_excel, umx_pad, xmu_check_levels_identical - 1.2.72016-05-06 · diff ↗ ·
removed 2 exports
umx_cont_2_ordinal, umx_fake_dataadded 9 exports
umxTwoStage, umx_cont_2_quantiles, umx_factor, umx_get_OpenMx, umx_make, umx_make_MR_data, umx_make_fake_data, umx_match.arg, umx_set_condensed_slots - RR 3.3.0 released · 2016-05-03
- 1.2.52016-04-03 · diff ↗
- 1.2.0
- 1.1.52016-03-07 · diff ↗ ·
removed 2 exports
umxStandardizeModel, umx_SQL_from_Exceladded 5 exports
getOpenMx, umxModify, umx_set_auto_plot, umx_sql_from_excel, umx_standardize_RAM - 1.1.12016-02-07 · diff ↗ ·
added 8 exports
umxACEcov, umxAPA, umxPlotACEcov, umxSummaryACEcov, umx_SQL_from_Excel, umx_make_TwinData, umx_set_auto_run, umx_standardize_ACEcov - 1.1.02015-12-10 · diff ↗ ·
removed 4 exports
umxStandardizeACE, umx_APA_CI, umx_check_multi_core, umx_get_CI_as_APA_stringadded 9 exports
summaryAPA, umxACESexLim, umxCF_SexLim, umxFactor, umx_APA_model_CI, umx_check_parallel, umx_fun_mean_sd, umx_standardize_ACE, umx_standardize_CP - 1.0.02015-10-28 · diff ↗ ·
removed 9 exports
col.as.numeric, cor.prob, grepSPSS_labels, mxLatent, mxStart, umxReportCIs, umxReportFit, umxSaturated, umxStartadded 10 exports
umxCP, umxGxE, umxIP, umxPlotCP, umxPlotGxE, umxPlotIP, umxSummaryCP, umxSummaryGxE, umxSummaryIP, umx_standardize_IP - 0.502015-08-28
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2015-08-28
- Total releases
- 46 / 11 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 272 KB / 8 files
- Download size
- 3.1 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("umx")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1017/thg.2019.2, 10.1017/thg.2026.10056.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.