umx

Build Status Codecov test coverage Github commits cran version Monthly Downloads Total Downloads Rdoc DOI License

Road map, and Tutorials (let me know what you’d like, or perhaps a book?)

umx is a structural equation modeling package designed to make SEM easier, from building, to modifying and reporting. Please cite as: citation("umx"):

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

umx includes high-level functions for complex models such as multi-group twin models, as well as graphical model output.

Install it from CRAN:

install.packages("umx")
library(umx)
?umx

Most functions have extensive and practical examples (even figures for the twin models): so USE THE HELP :-).

See what is on offer with ‘?umx’. There are online tutorials at tbates.github.io.

umx stands for “user” OpenMx functions. It provides over 100 functions, but most importantly the high-level umxRAM functions that makes path-based SEM in R straightforward from model specification to plot, along with a suite of high-level twin modelling functions. These are supported by dozens of low-level functions automating activities such as labeling, setting start values etc., and helping with data-wrangling, plotting etc.

Some highlights include:

  1. Building Path Models
  2. Reporting output
  3. Modify models
  4. Twin modeling!
  5. Easy-to-remember options
  6. Many more miscellaneous helpers e.g.

Feel free to use, and submit code and requests via Github. Tell your friends! Publish more good science :-)

For thrill-seekers and collaborators only: the bleeding-edge development version is here:

install.packages("devtools")
library("devtools")
install_github("tbates/umx")
library("umx")
?umx