R/tables.r

Defines functions table_gof

table_gof <- function(x) {
  stopifnot(class(x) == "summary.mxmodel")
  data.frame(
     os    = x$observedStatistics,
     ep    = x$estimatedParameters,
    `-2LL` = x$Minus2LogLikelihood,
     AIC   = x$AIC.Mx,
    check.names = FALSE
  )
}
aaronwolen/mxtx documentation built on May 28, 2019, 3:22 p.m.