| ACE_CI | R Documentation |
Estimates ACE components (additive genetic, shared environment, unique environment) using nonparametric bootstrap resampling of twin data (MZ and DZ pairs).
ACE_CI(
mzData,
dzData,
selV,
n.boot = 1000,
conf.level = 0.95,
use = "complete.obs",
bounds = FALSE,
seed = NULL,
verbose = interactive()
)
mzData |
Data frame for monozygotic twins. |
dzData |
Data frame for dizygotic twins. |
selV |
Character vector of length 2 specifying twin variables. |
n.boot |
Number of bootstrap replications. |
conf.level |
Confidence level for percentile intervals. |
use |
Missing-data handling method passed to cor(). |
bounds |
Logical; constrain ACE estimates to |
seed |
Random seed for reproducibility. |
verbose |
Logical; show progress messages. |
A list containing:
observed: ACE estimates from original data
bootstrap: bootstrap replicate estimates
summary: bootstrap summary statistics
## Not run:
set.seed(123)
res <- ACE_CI(mzData = mzm, dzData = dzm, selV = c("bmi1","bmi2"))
print(res)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.