Learn R Programming

umx (version 1.9.1)

umxPlotACEv: 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, ...)

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 = TRUE)

...

Additional (optional) parameters

Value

- optionally return the dot code

References

- http://www.github.com/tbates/umx

See Also

Other Plotting functions: plot.MxModel, umxPlotACEcov, umxPlotACE, umxPlotCP, umxPlotGxE, umxPlotIP

Other Reporting functions: RMSEA.MxModel, RMSEA.summary.mxmodel, RMSEA, extractAIC.MxModel, loadings, plot.MxModel, residuals.MxModel, umxCI_boot, umxCI, umxCompare, umxConfint, umxExpCov, umxExpMeans, umxFitIndices, umxPlotACEcov, umxPlotACE, umxPlotCP, umxPlotGxE, umxPlotIP, umxSummary.MxModel, umxSummaryACEv, umxSummaryACE, umx_drop_ok, umx_standardize_RAM

Examples

Run this code
# NOT RUN {
require(umx)
data(twinData)
selDVs = "bmi"
mzData <- subset(twinData, zygosity == "MZFF")
dzData <- subset(twinData, zygosity == "DZFF")
m1 = umxACEv(selDVs = selDVs, dzData = dzData, mzData = mzData, sep = "")
plot(m1, std = FALSE) # don't standardize
# }

Run the code above in your browser using DataLab