CalcRegParam: Calculate Regression Parameters

View source: R/generate_data.R

CalcRegParamR Documentation

Calculate Regression Parameters

Description

Calculate phenotypic regression coefficients and the residual variation based on proportion of variation explained (PVE) by each factor.

Usage

CalcRegParam(pve_age = 0.1, pve_pcs = 0.2, pve_sex = 0.1)

Arguments

pve_age

PVE by age.

pve_pcs

PVE by PCs (collectively).

pve_sex

PVE by sex.

Value

List containing the (5 x 1) regression coefficient vector "coef" and the residual standard deviation "sd".


AllelicSeries documentation built on April 3, 2025, 7:46 p.m.