
Make a graphical display of an ACE model with covariates.
umxPlotACEcov(x = NA, file = "name", digits = 2, means = FALSE,
std = TRUE, showMeans = "deprecated", ...)
mxModel
to plot (created by umxACE in order to inherit the MxModel.ACE class)
The name of the dot file to write: NA = none; "name" = use the name of the model
How many decimals to include in path loadings (default is 2)
Whether to show means paths (default is FALSE)
Whether to standardize the model (default is TRUE)
DEPRECATED use "means" instead
Additional (optional) parameters
- optionally return the dot code
Other Plotting functions: plot.MxModel
,
umxPlotACEv
, 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
, umxPlotACEv
,
umxPlotACE
, umxPlotCP
,
umxPlotGxE
, umxPlotIP
,
umxSummary.MxModel
,
umxSummaryACEv
,
umxSummaryACE
, umx_drop_ok
,
umx_standardize_RAM
Other Twin Modeling Functions: plot.MxModel
,
umxACESexLim
,
umxACE_cov_fixed
, umxACEcov
,
umxACEv
, umxACE
,
umxCF_SexLim
, umxCP
,
umxGxE_window
, umxGxE
,
umxIP
, umxPlotCP
,
umxPlotGxE
, umxPlotIP
,
umxReduceACE
,
umxSummaryACEcov
,
umxSummaryACEv
,
umxSummaryACE
, umxSummaryCP
,
umxSummaryGxE
, umxSummaryIP
,
umx_long2wide
, umx_wide2long
,
umx
, xmu_twin_check
# NOT RUN {
require(umx)
# BMI ?twinData from Australian twins.
# Cohort 1 Zygosity 1 == MZ females 3 == DZ females
data(twinData)
# Pick the variables. We will use base names (i.e., "bmi") and set suffix.
selDVs = c("bmi")
selCovs = c("ht")
selVars = umx_paste_names(c(selDVs, selCovs), sep = "", suffixes= 1:2)
# just top few pairs so example runs quickly
mzData = subset(twinData, zyg == 1, selVars)[1:100, ]
dzData = subset(twinData, zyg == 3, selVars)[1:100, ]
# TODO update for new dataset variable zygosity
# mzData = subset(twinData, zygosity == "MZFF", selVars)[1:200, ]
# dzData = subset(twinData, zygosity == "DZFF", selVars)[1:200, ]
m1 = umxACEcov(selDVs = selDVs, selCovs = selCovs, dzData = dzData, mzData = mzData,
suffix = "", autoRun = TRUE)
plot(m1)
plot(m1, std = FALSE) # don't standardize
# }
Run the code above in your browser using DataLab