Description Usage Arguments Value Examples
Extracts dataframe with age, controls, biomarkers, and biological age calculation from trianed data (using kdm_calc function).
1 | extract_data(kdmobj)
|
kdmobj |
A kdm object estimated using the function kdm_calc. |
A dataframe with parameters and biological age.
1 2 3 4 5 6 | #(not run)
#Train biological age parameters
train = kdm_calc(nhanes,agevar='age',
biomarkers=c('sysbp','totchol','bun','cmv','mcv'))
newdata = extract_data(train)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.