Description Usage Arguments Value Examples
Project from a training dataset into a validation dataset using kdm or hd algorithms.
1 |
training_data |
The dataset for calculating biological age or hd. |
projection_data |
The dataset for projecting biological age or hd into. |
method |
A character variable of either 'hd' or 'kdm' to identify the |
biomarkers |
A character vector indicating the names of the variables for the biomarkers to use in calculating biological age. |
filter |
a list with biomarker names that identifies any restrictions in training data. See vignette or data description for example of use. |
An object of class 'kdm' or 'hd'. This object is a list with two elements (data and fit), and two methods (extract_data and extract_fit). Data is limited to the "projection" dataset. Fit is calculate from "training" dataset.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.