Learn R Programming

umx (version 1.9.1)

umxSummaryACEcov: Present results of a twin ACE-model with covariates in table and graphical forms.

Description

Summarize a Cholesky model with covariates, as returned by umxACEcov

Usage

umxSummaryACEcov(model, digits = 2, file = getOption("umx_auto_plot"),
  returnStd = FALSE, extended = FALSE, showRg = FALSE, std = TRUE,
  comparison = NULL, CIs = TRUE, zero.print = ".", report = c("1", "2",
  "html"), ...)

Arguments

model

a umxACEcov model to summarize

digits

round to how many digits (default = 2)

file

The name of the dot file to write: NA = none; "name" = use the name of the model

returnStd

Whether to return the standardized form of the model (default = FALSE)

extended

how much to report (FALSE)

showRg

= whether to show the genetic correlations (FALSE)

std

= whether to show the standardized model (TRUE)

comparison

you can run mxCompare on a comparison model (NULL)

CIs

Whether to show Confidence intervals if they exist (TRUE)

zero.print

How to show zeros (".")

report

If "html", then open an html table of the results.

...

Other parameters to control model summary

Value

- optional mxModel

References

- http://tbates.github.io, https://github.com/tbates/umx

See Also

- umxACEcov

Other Twin Modeling Functions: plot.MxModel, umxACESexLim, umxACE_cov_fixed, umxACEcov, umxACEv, umxACE, umxCF_SexLim, umxCP, umxGxE_window, umxGxE, umxIP, umxPlotACEcov, umxPlotCP, umxPlotGxE, umxPlotIP, umxReduceACE, umxSummaryACEv, umxSummaryACE, umxSummaryCP, umxSummaryGxE, umxSummaryIP, umx_long2wide, umx_wide2long, umx, xmu_twin_check

Examples

Run this code
# NOT RUN {
require(umx)
data(twinData)
selDVs = c("bmi1", "bmi2")
mzData <- subset(twinData, zygosity == "MZFF")
dzData <- subset(twinData, zygosity == "DZFF")
m1 = umxACE(selDVs = selDVs, dzData = dzData, mzData = mzData)
m1 = umxRun(m1)
umxSummaryACE(m1)
# }
# NOT RUN {
umxSummaryACE(m1, file = NA);
umxSummaryACE(m1, file = "name", std = TRUE)
stdFit = umxSummaryACE(m1, returnStd = TRUE);
# }

Run the code above in your browser using DataLab