umxSummaryGxEbiv: Summarize a bivariate GxE twin model

View source: R/umx_build_umxGxEbiv.R

umxSummaryGxEbivR Documentation

Summarize a bivariate GxE twin model

Description

umxSummaryGxEbiv summarizes a bivariate moderation model, as returned by umxGxEbiv().

Usage

umxSummaryGxEbiv(
  model = NULL,
  digits = 2,
  xlab = NA,
  location = "topleft",
  separateGraphs = FALSE,
  file = getOption("umx_auto_plot"),
  comparison = NULL,
  std = NULL,
  reduce = FALSE,
  CIs = NULL,
  report = c("markdown", "html"),
  returnStd = NULL,
  ...
)

Arguments

model

A fitted umxGxEbiv() model to summarize

digits

round to how many digits (default = 2)

xlab

label for the x-axis of plot

location

default = "topleft"

separateGraphs

Std and raw plots in separate graphs? (default = FALSE)

file

The name of the dot file to write: NA = none; "name" = use the name of the model

comparison

mxCompare model with this model if offered up (default = NULL).

std

Whether to show the standardized model (not implemented! TRUE)

reduce

Whether to run and tabulate a complete model reduction...(Defaults to FALSE)

CIs

Confidence intervals (FALSE)

report

markdown or html (html opens in browser)

returnStd

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

...

Optional additional parameters

Value

  • optional OpenMx::mxModel()

References

See Also

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

Other Twin Modeling Functions: power.ACE.test(), umx, umxACE(), umxACEcov(), umxACEv(), umxCP(), umxDiffMZ(), umxDiscTwin(), umxDoC(), umxDoCp(), umxGxE(), umxGxE_window(), umxGxEbiv(), umxIP(), umxMRDoC(), umxReduce(), umxReduceACE(), umxReduceGxE(), umxRotate.MxModelCP(), umxSexLim(), umxSimplex(), umxSummarizeTwinData(), umxSummaryACE(), umxSummaryACEv(), umxSummaryDoC(), umxSummarySexLim(), umxSummarySimplex(), umxTwinMaker()

Examples

data(twinData)
df = umx_scale_wide_twin_data(twinData, varsToScale = c("ht", "wt"), sep = "")
mzData  = subset(df, zygosity %in% c("MZFF", "MZMM"))
dzData  = subset(df, zygosity %in% c("DZFF", "DZMM", "DZOS"))

## Not run: 
m1 = umxGxEbiv(selDVs = "wt", selDefs = "ht", 
	dzData = dzData, mzData = mzData, sep = "", dropMissingDef = TRUE)
# Plot Moderation
umxSummary(m1)
umxSummary(m1, location = "topright")
umxSummary(m1, separateGraphs = FALSE)

## End(Not run)

tbates/umx documentation built on Dec. 14, 2024, 11:28 a.m.