fit_uniACE {ACEsimFit} | R Documentation |
Use OpenMx to quickly fit a univariate ACE model
fit_uniACE(
data_1,
data_2,
GroupRel = c(1, 0.5),
GroupR_c = c(1, 1),
lbound = FALSE
)
data_1 |
A n by 2 |
data_2 |
A n by 2 |
GroupRel |
A numeric vector specifying two genetic relatedness values of two groups of kin pairs |
GroupR_c |
A numeric vector specifying two common environment correlation coefficients of two groups of kin pairs |
lbound |
A logical value indicating if a lower boundary of .0001 will be imposed to the estimated A, C and E components |
Returns a list
with the following:
df_nested |
A |
fitACE |
A |