umxPlotACEv: Produce a graphical display of an ACE variance-components...

View source: R/umx_build_umxACEv.R

umxPlotACEvR Documentation

Produce a graphical display of an ACE variance-components twin model

Description

Plots an ACE model graphically, opening the result in the browser (or a graphviz application).

Usage

umxPlotACEv(
  x = NA,
  file = "name",
  digits = 2,
  means = FALSE,
  std = TRUE,
  strip_zero = TRUE,
  ...
)

Arguments

x

umxACEv() model to plot.

file

The name of the dot file to write: Default ("name") = use the name of the model. NA = don't plot.

digits

How many decimals to include in path loadings (default = 2)

means

Whether to show means paths (default = FALSE)

std

Whether to standardize the model (default = FALSE)

strip_zero

Whether to strip the leading "0" and decimal point from parameter estimates (default = TRUE)

...

Additional (optional) parameters

Value

  • optionally return the dot code

References

See Also

Other Plotting functions: ggAddR(), plot.MxLISRELModel(), plot.MxModelTwinMaker(), plot.MxModel(), umxPlotACEcov(), umxPlotACE(), umxPlotCP(), umxPlotDoC(), umxPlotFun(), umxPlotGxEbiv(), umxPlotGxE(), umxPlotIP(), umxPlotSexLim(), umxPlotSimplex(), umxPlot(), umx

Examples


## Not run: 
require(umx)
data(twinData)
mzData = subset(twinData, zygosity == "MZFF")
dzData = subset(twinData, zygosity == "DZFF")
m1 = umxACEv(selDVs = "bmi", dzData = dzData, mzData = mzData, sep = "")
umxSummary(m1)
umxPlotACEv(m1, std = FALSE) # Don't standardize
plot(m1, std = FALSE) # don't standardize

## End(Not run)

umx documentation built on May 29, 2024, 5:40 a.m.