Learn R Programming

umx (version 1.4.0)

umxPlotACE: umxPlotACE

Description

Make a graphical display of an ACE model

Usage

umxPlotACE(x = NA, file = "name", digits = 2, means = FALSE, std = TRUE, showMeans = "deprecated", showStd = "deprecated", ...)

Arguments

x
mxModel to plot (created by umxACE in order to inherit the MxModel.ACE class)
file
The name of the dot file to write: NA = none; "name" = use the name of the model
digits
How many decimals to include in path loadings (default is 2)
means
Whether to show means paths (default is FALSE)
std
Whether to standardize the model (default is TRUE)
showMeans
DEPRECATED: just use 'means = ' for simplicity of typing.
showStd
DEPRECATED: just use 'std = '
...
Additional (optional) parameters

Value

- optionally return the dot code

References

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

See Also

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

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

Examples

Run this code
require(umx)
data(twinData)
labList = c("MZFF", "MZMM", "DZFF", "DZMM", "DZOS")
twinData$ZYG = factor(twinData$zyg, levels = 1:5, labels = labList)
selDVs = c("bmi1", "bmi2")
mzData <- subset(twinData, ZYG == "MZFF", selDVs)
dzData <- subset(twinData, ZYG == "DZFF", selDVs)
m1 = umxACE(selDVs = selDVs, dzData = dzData, mzData = mzData)
plot(m1)
plot(m1, std = FALSE) # don't standardize

Run the code above in your browser using DataLab