Skip to content

Structural Equation Modeling and Twin Modeling in R

0packages dependsuggested by 2
47Kdownloads / year
42.8%test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 16.3 min · r-devel-linux-x86_64-debian-clang
Status changes
  • 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
Advisories

none known

Documentation

In release 4.80.1
READMEYes · 551 wordsVignettesYes · 6 · dynamicNEWSYes · 67% structured · does not mention 4.80.1Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
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

47K
CRAN downloads in the past year
Rank #1,823 · ~129/day · ~3.9K/mo
Daily download trend is not available in this view yet.
3.4K30 days
11K90 days
47K1 year
Compare downloads with other packages →
Also on194 r2u4 autocran2.3K conda_forge58 c2d4u

Repository

50Stars
18Forks
12Open issues
9Open PRs
37Releases
3,917Commits
7Commit identities
statisticspsychologyrsemstructural-equation-modelingbehavior-geneticstwin-modelscran
3,917 commits · Last activity 2026-10-17 · +2% stars, 30d · Discussions: 1 post
Responsiveness
How these are sampled
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

2025-09-12 · 472026-10-06 · 50
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Julesfirst seen 2026-01-12
    Pull request: opened by its own account
  • GitHub Copilotfirst seen 2026-07-02
    Commits: at least 5 crediting it in the message
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
37 external dependencies (excludes base and recommended)

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.

Depends (2)
R >= 4.1.0OpenMx
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 2
Suggests, most downloaded first

Datasets

People & History

People (8)
Author, Maintainer · added in 4.80.1
Contributor · added in 4.10.50
Contributor · added in 3.0.6
Contributor
Contributor · added in 4.0.0
wit · added in 4.15.1
wit · added in 4.9.0

Maintainer since 0.50 (2015)

Listed in earlier versions (4)
Show 4 peopleHide 4 people
Timothy C Bates
no longer listed · 0.50 to 3.0.5
Michael C.
no longer listed · 3.0.6 to 4.80.1
Timothy C.
no longer listed · 3.0.6 to 4.80.0
Joshua N.
no longer listed · 3.0.6 to 4.80.1
Releases (46)

Pick two releases to compare their code metrics.

  • 4.80.1Latest
    record
    2026-10-13 · current release · diff ↗ ·
    removed 1 export
    umx_ICA_report
    added 1 export
    umx_scholastica_report
  • 4.80.0
    record
    2026-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, xmuMakeDeviationThresholdsMatrices
    added 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.0
    record
    2026-05-18 · diff ↗ ·
    added 6 exports
    fin_FIF, fin_StockCAGR, fin_carryCost, fin_option, umx_log_wide_twin_data, umx_yj_wide_twin_data
  • R
    R 4.6.0 released · 2026-04-24
  • 4.60.0
    record
    2025-11-17 · diff ↗ ·
    added 1 export
    fin_CAGR
  • unarchivedReturned to CRAN
    2025-10-21
  • 4.59.0
    record
    2025-10-21 · diff ↗ ·
    removed 2 exports
    umx_set_plot_use_hrbrthemes, xmu_scale_wide_data
    added 7 exports
    fin_expected, fin_net_present_value, umxPlotPredict, umx_get_alphas, umx_wide2longTwinData, umx_wide4lmer, xmu_update_covar
  • archivedRemoved from CRAN
    2025-09-09
    requires archived package 'hrbrthemes'
  • R
    R 4.5.0 released · 2025-04-11
  • 4.21.0
    record
    2024-11-15 · diff ↗ ·
    added 3 exports
    xmu_equate_threshold_values, xmu_relevel_factors, xmu_scale_wide_data
  • R
    R 4.4.0 released · 2024-04-24
  • 4.20.0
    record
    2024-04-11 · diff ↗
  • unarchivedReturned to CRAN
    2023-11-16
  • 4.19.0
    record
    2023-11-16 · diff ↗ ·
    added 2 exports
    fin_JustifiedPE, fin_ticker
  • archivedRemoved from CRAN
    2023-11-14
    issues were not corrected in time
  • 4.16.0
    record
    2023-08-24 · diff ↗ ·
    removed 1 export
    umx_read_prolific_demog
    added 8 exports
    ggAddR, prolific_anonymize, prolific_read_demog, umxCLPM, umxMRDoC, umxMatrixFree, umxSummaryMRDoC, umx_strings2numeric
Show 50 earlier eventsHide 50 earlier events
  • R
    R 4.3.0 released · 2023-04-21
  • 4.15.1
    record
    2022-09-20 · diff ↗ ·
    added 7 exports
    prolific_check_ID, umxDiffMZ, umxDiscTwin, umxParan, umxPlot, umx_merge_randomized_columns, umx_set_dollar_symbol
  • R
    R 4.2.0 released · 2022-04-22
  • 4.10.50
    record
    2021-12-16 · diff ↗ ·
    added 3 exports
    umxGetLatents, umxGetManifests, umxGetModel
  • 4.10.10
    record
    2021-11-29 · diff ↗ ·
    removed 1 export
    umxMendelianRandomization
    added 3 exports
    fin_NI, noNAs, umxMR
  • 4.9.0
    record
    2021-07-04 · diff ↗ ·
    added 2 exports
    xmuTwinSuper_NoBinary, xmu_twin_make_def_means_mats_and_alg
  • unarchivedReturned to CRAN
    2021-05-31
  • 4.8.0
    record
    2021-05-31 · diff ↗ ·
    removed 1 export
    fin_compound_interest
    added 6 exports
    bucks, fin_interest, fin_valuation, libs, umxModelNames, xmu_summary_RAM_group_parameters
  • archivedRemoved from CRAN
    2021-05-27
    check problems were not corrected in time
  • R
    R 4.1.0 released · 2021-05-18
  • 4.3.0
    record
    2021-01-24 · diff ↗ ·
    removed 1 export
    fin_percent_off
    added 5 exports
    fin_percent, umxPlotFun, umx_lower.tri, umx_set_plot_use_hrbrthemes, xmu_print_algebras
  • 4.2.5
    record
    2020-12-12 · diff ↗ ·
    removed 3 exports
    umxLabel, umxValues, umx_set_mvn_optimization_options
    added 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.0
    record
    2020-05-25 · diff ↗ ·
    removed 4 exports
    umxACE_cov_fixed, umx_object_as_str, xmu_assemble_twin_supermodel, xmu_make_top_twin
    added 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
  • R
    R 4.0.0 released · 2020-04-24
  • 3.0.6
    record
    2020-02-06 · diff ↗ ·
    removed 2 exports
    umx_nice_data, umx_pb_note
    added 5 exports
    umxDoC, umxPlotDoC, umxRAM2Lav, umxSummaryDoC, umx_make_twin_data_nice
  • 3.0.5
    record
    2019-12-06 · diff ↗ ·
    removed 5 exports
    umxAdd1, umxDrop1, umxRAM2Ordinal, umx_fix_first_loadings, umx_fix_latents
    added 1 export
    xmuRAM2Ordinal
  • 3.0.0
    record
    2019-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 more
    added 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
  • R
    R 3.6.0 released · 2019-04-26
  • 2.10.0
    record
    2019-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_models
    added 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
    record
    2019-01-18 · diff ↗ ·
    added 1 export
    umxSummarizeTwinData
  • 2.9.0
    record
    2018-12-19 · diff ↗ ·
    removed 1 export
    xmu_make_top
    added 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
    record
    2018-10-06 · diff ↗ ·
    added 2 exports
    umxWeightedAIC, xmu_make_mxData
  • 2.8.0
    record
    2018-06-19 · diff ↗ ·
    removed 3 exports
    umxGxE_biv, umxPlotGxE_biv, umxSummaryGxE_biv
    added 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.5
    record
    2018-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
  • R
    R 3.5.0 released · 2018-04-23
  • 2.4.0
    record
    2018-03-19 · diff ↗
  • unarchivedReturned to CRAN
    2018-02-14
  • 2.0.2
    record
    2018-02-14 · diff ↗ ·
    removed 4 exports
    umxACESexLim, umxCF_SexLim, umxReRun, umx_install_OpenMx
    added 9 exports
    tmx_genotypic_effect, umxBrownie, umxGxE_biv, umxPlotGxE_biv, umxSexLim, umxSummaryGxE_biv, umxSummarySexLim, umx_array_shift, umx_stack
  • archivedRemoved from CRAN
    2018-01-25
    policy violation (leaving processes running)
  • 1.9.1
    record
    2017-11-02 · diff ↗
  • 1.9.0
    record
    2017-11-02 · diff ↗ ·
    removed 2 exports
    umx_get_cores, umx_get_optimizer
    added 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
  • R
    R 3.4.0 released · 2017-04-21
  • 1.7.5
    record
    2017-04-07 · diff ↗ ·
    removed 1 export
    umx_cov_diag
    added 5 exports
    umx2ord, umxModel, umxVersion, umx_update_OpenMx, umx_var
  • 1.5.5
    record
    2017-03-21 · diff ↗ ·
    added 2 exports
    umx_r_test, umx_write_to_clipboard
  • 1.5.1
    record
    2017-03-07 · diff ↗ ·
    added 1 export
    umx_open_CRAN_page
  • 1.5.0
    record
    2017-01-13 · diff ↗ ·
    removed 1 export
    mxSE
  • 1.4.9
    record
    2016-12-05 · diff ↗
  • 1.4.5
    record
    2016-11-08 · diff ↗
  • 1.4.0
    record
    2016-10-13 · diff ↗ ·
    removed 2 exports
    getOpenMx, umx_get_OpenMx
    added 3 exports
    install.OpenMx, umxMatrix, umx_install_OpenMx
  • 1.3.0
    record
    2016-08-18 · diff ↗ ·
    removed 2 exports
    umx_RAM_ordinal_objective, umx_sql_from_excel
    added 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.7
    record
    2016-05-06 · diff ↗ ·
    removed 2 exports
    umx_cont_2_ordinal, umx_fake_data
    added 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
  • R
    R 3.3.0 released · 2016-05-03
  • 1.2.5
    record
    2016-04-03 · diff ↗
  • 1.2.0
    record
    2016-03-31 · diff ↗ ·
    added 3 exports
    loadings, umx_set_plot_format, umx_set_table_format
  • 1.1.5
    record
    2016-03-07 · diff ↗ ·
    removed 2 exports
    umxStandardizeModel, umx_SQL_from_Excel
    added 5 exports
    getOpenMx, umxModify, umx_set_auto_plot, umx_sql_from_excel, umx_standardize_RAM
  • 1.1.1
    record
    2016-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.0
    record
    2015-12-10 · diff ↗ ·
    removed 4 exports
    umxStandardizeACE, umx_APA_CI, umx_check_multi_core, umx_get_CI_as_APA_string
    added 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.0
    record
    2015-10-28 · diff ↗ ·
    removed 9 exports
    col.as.numeric, cor.prob, grepSPSS_labels, mxLatent, mxStart, umxReportCIs, umxReportFit, umxSaturated, umxStart
    added 10 exports
    umxCP, umxGxE, umxIP, umxPlotCP, umxPlotGxE, umxPlotIP, umxSummaryCP, umxSummaryGxE, umxSummaryIP, umx_standardize_IP
  • 0.50
    record
    2015-08-28
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for umx version 4.80.1 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy