umx SEM package

Installing umx (1-minute read)

I designed umx to be transparent and reproducible, to make basic work easy, and to make complex work manageable, so you can spend more time doing better science.

umx provides a compact set of functions to support four core tasks:

  1. Express theories in SEM models.
  2. Test competing theories.
  3. Maintain a reproducible workflow.
  4. Communicate results effectively.

umx also provides a wide range of twin models implementing these complex multi-group models as single function calls.

You can learn more about umx and twin modeling in Bates, Maes, & Neale, (2019). umx: Twin and Path-Based Structural Equation Modeling in R. Twin Res Hum Genet, 22, 27-41. doi:10.1017/thg.2019.2 open access.

Read below on installing umx, then on to the modeling!

Install umx like any other cran package. In R type:

install.packages("umx")

library("umx")

OK, now you’re ready for your first umx model!

Optional: For bleeding-edge beta testers

The development version of umx lives on github.

To install this version:

  1. If you don’t have it:
install.packages("devtools")
  1. Load devtools
    library("devtools")
    

Instal umx:

install_github("tbates/umx")
library("umx")

On windows you might need

install_github("tbates/umx", args = "--no-multiarch")