View source: R/generate_data.R
CalcRegParam | R Documentation |
Calculate phenotypic regression coefficients and the residual variation based on proportion of variation explained (PVE) by each factor.
CalcRegParam(pve_age = 0.1, pve_pcs = 0.2, pve_sex = 0.1)
pve_age |
PVE by age. |
pve_pcs |
PVE by PCs (collectively). |
pve_sex |
PVE by sex. |
List containing the (5 x 1) regression coefficient vector "coef" and the residual standard deviation "sd".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.