Learn R Programming

umx (version 1.9.1)

umx_standardize_ACEcov: umx_standardize_ACEcov

Description

Standardize an ACE model with covariates

Usage

umx_standardize_ACEcov(model, ...)

Arguments

model

an umxACEcov model to standardize

...

Other options

Value

- Standardized umxACEcov model

References

- http://tbates.github.io, https://github.com/tbates/umx

See Also

Other zAdvanced Helpers: umx_standardize_ACEv, umx_standardize_ACE, umx_standardize_CP, umx_standardize_IP, umx

Examples

Run this code
# NOT RUN {
require(umx)
data(twinData)
twinData$age1 = twinData$age2 = twinData$age
selDVs  = c("bmi")
selCovs = c("ht") # silly example
selVars = umx_paste_names(c(selDVs, selCovs), sep = "", suffixes= 1:2)
mzData = subset(twinData, zyg == 1, selVars)[1:80, ]
dzData = subset(twinData, zyg == 3, selVars)[1:80, ]
m1 = umxACEcov(selDVs = selDVs, selCovs = selCovs, dzData = dzData, mzData = mzData, 
	 suffix = "", autoRun = TRUE)
fit = umx_standardize_ACEcov(m1)
# }

Run the code above in your browser using DataLab