Learn R Programming

umx (version 1.4.0)

umxSummaryACEcov: umxSummaryACEcov

Description

Summarise a Cholesky model 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, umxACEcov, umxACE, umxCF_SexLim, umxCP, umxGxE_window, umxGxE, umxIP, umxPlotACEcov, umxPlotCP, umxPlotGxE, umxPlotIP, umxSummaryACE, umxSummaryCP, umxSummaryGxE, umxSummaryIP, umx_make_TwinData, umx

Examples

Run this code
require(umx)
data(twinData)
labList = c("MZFF", "MZMM", "DZFF", "DZMM", "DZOS")
twinData$ZYG = factor(twinData$zyg, levels = 1:5, labels = labList)
selDVs = c("bmi1", "bmi2")
mzData <- subset(twinData, ZYG == "MZFF", selDVs)
dzData <- subset(twinData, ZYG == "DZFF", selDVs)
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);
# ## End(Not run)

Run the code above in your browser using DataLab