EasyMx is a library of functions for users of OpenMx and R
It's goals are:
- Make getting work done with OpenMx as easy as reasonable.
- Help users familiar with R get into OpenMx.
- Help users new to SEM get into doing SEM with OpenMx.
ezMxLm(y ~ x)
# This function implements lm in SEM
ezMx_tTest(grp1 = y, grp2 = x, dependent = FALSE){
ezMx_tTest(y ~ Grp)
Synonyms for this are ezMxANOVA()
and ezMxRegression()
ezMxFactorModel(factors = 1, errorsEqual = FALSE){ ezMxFactorModel(F1 + F2 ~ x1 + x2 + x3") ezMxFactorModel(latents=c("F1", "F2", ...), to=list(F1=c("x1", "x2", "x3"), F2=c("x3", "x4", "x5", ...))
ezMxLGCM <- function(timepoints = 4, errorsEqual = FALSE) { # Alternate: ezMxFactors(to=c("x1", "x2", "x3), ... ) }
ezMxMeasurementInvariance <- function(from = c("F1", "F2", ...), to = list(F1 = c("x1", "x2", "x3"), F2 = c("x3", "x4", "x5", ...), groups = c("school")){ # repurpose semTools code, or give them OpenMx code to handle our models? }
ezMxACEModel<- function(twin1 = x, twin2 = y, ...){
}
ezMxSimpleThresholds <- function(model, data, useStandardNormal = TRUE) { #<- generates threshold expectations for a RAM or LISREL model }
ezMxPlot <- function(model) { # <- plots a RAM or LISREL model }
ezMxTable <- function(model, ...) { #<- plot a publication-qualty table of output stats }
lavaan.to.OpenMx <- function(HW.model){ # }