Learn R Programming

umx (version 1.7.5)

umxSummaryIP: umxSummaryIP

Description

Summarise a Independent Pathway model, as returned by umxIP

Usage

umxSummaryIP(model, digits = 2, file = getOption("umx_auto_plot"),
  returnStd = FALSE, std = TRUE, showRg = TRUE, comparison = NULL,
  CIs = FALSE, ...)

Arguments

model

A fitted umxIP 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 = F)

std

= Whether to show the standardized model (TRUE)

showRg

= whether to show the genetic correlations (F)

comparison

Whether to run mxCompare on a comparison model (NULL)

CIs

Confidence intervals (F)

...

Optional additional parameters

Value

- optional mxModel

References

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

See Also

- umxIP(), plot(), umxSummary() work for IP, CP, GxE, SAT, and ACE models.

Other Twin Modeling Functions: plot.MxModel, umxACESexLim, umxACEcov, umxACE, umxCF_SexLim, umxCP, umxGxE_window, umxGxE, umxIP, umxPlotACEcov, umxPlotCP, umxPlotGxE, umxPlotIP, umxSummaryACEcov, umxSummaryACE, umxSummaryCP, umxSummaryGxE, umx

Examples

Run this code
# NOT RUN {
require(umx)
data(twinData)
labList = c("MZFF", "MZMM", "DZFF", "DZMM", "DZOS")
twinData$ZYG = factor(twinData$zyg, levels = 1:5, labels = labList)
selDVs = c("ht1", "wt1", "ht2", "wt2")
mzData <- subset(twinData, ZYG == "MZFF")
dzData <- subset(twinData, ZYG == "DZFF")
m1 = umxIP(selDVs = selDVs, dzData = dzData, mzData = mzData)
m1 = umxRun(m1)
umxSummaryIP(m1)
plot(m1)
# }
# NOT RUN {
umxSummaryIP(m1, digits = 2, file = "Figure3", showRg = FALSE, CIs = TRUE);
# }

Run the code above in your browser using DataLab