umxSummaryIP: Present the results of an independent-pathway twin model in...

umxSummaryIPR Documentation

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

  • optional mxModel()

References

See Also

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

Other Summary functions: umxSummary.MxModel(), umxSummaryACEcov(), umxSummaryCP(), umxSummaryGxE(), umxSummaryMRDoC()

Examples

## 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)
umxSummaryIP(m1, digits = 2, file = "Figure3", showRg = FALSE, CIs = TRUE);

## End(Not run)

tbates/umx documentation built on March 16, 2024, 4:26 a.m.