View source: R/untransform_plink.R
untransform_plink | R Documentation |
This function unwinds the initial standardization of the data to obtain coefficient values on their original scale. It is called by plmm_format().
untransform_plink(
std_scale_beta,
p,
std_X_details,
plink_flag,
use_names = TRUE
)
std_scale_beta |
The estimated coefficients on the standardized scale |
p |
The number of columns in the original design matrix |
std_X_details |
A list with 3 elements describing the standardized design matrix BEFORE rotation; this should have elements 'scale', 'center', and 'ns' |
use_names |
Logical: should names be added? Defaults to TRUE. Set to FALSE inside of |
a matrix of estimated coeffcients, 'beta_vals', that is on the scale of the original data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.