Learn R Programming

umx (version 4.0.0)

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,
  showRg = FALSE,
  std = TRUE,
  comparison = NULL,
  CIs = TRUE,
  zero.print = ".",
  report = c("markdown", "html"),
  file = getOption("umx_auto_plot"),
  returnStd = FALSE,
  extended = FALSE,
  ...
)

Arguments

model

a umxACEcov() model to summarize

digits

round to how many digits (default = 2)

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.

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)

...

Other parameters to control model summary

Value

References

See Also

Other Twin Reporting Functions: umxPlotCP(), umxPlotDoC(), umxReduceACE(), umxReduceGxE(), umxReduce(), umxSummarizeTwinData(), umxSummaryACEv(), umxSummaryACE(), umxSummaryCP(), umxSummaryDoC(), umxSummaryGxEbiv(), umxSummaryGxE(), umxSummaryIP(), umxSummarySexLim(), umxSummarySimplex(), umx

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)
# }
# 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