Learn R Programming

umx (version 4.0.0)

umxSummaryIP: Present the results of an independent-pathway twin model in table and graphical form

Description

Summarize a Independent Pathway model, as returned by umxIP()

Usage

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

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

std

= Whether to show the standardized model (TRUE)

showRg

= whether to show the genetic correlations (FALSE)

comparison

Whether to run mxCompare on a comparison model (NULL)

CIs

Confidence intervals (F)

returnStd

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

report

how to display the results ("html" will open in browser as table)

...

Optional additional parameters

Value

References

See Also

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

Examples

Run this code
# NOT RUN {
require(umx)
data(GFF) # family function and well-being data
mzData <- subset(GFF, zyg_2grp == "MZ")
dzData <- subset(GFF, zyg_2grp == "DZ")
selDVs = c("hap", "sat", "AD") # These will be expanded into "hap_T1" "hap_T2" etc.
m1 = umxIP(selDVs = selDVs, sep = "_T", dzData = dzData, mzData = mzData)
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