hd_nhanes | R Documentation |
Train HD algorithm in NHANES III and project into NHANES IV.
hd_nhanes(biomarkers)
biomarkers |
A character vector indicating the names of the biomarkers included in the HD algorithm. |
Training HD algorithm using the NHANES III (1988 - 1994) and projecting into NHANES IV (1999 - 2018) dataset. For this function, NHANES III included men and women who are between the ages of 20 and 30, and have observe biomarker data within clinically acceptable distributions.
An object of class "hd". This object is a list with two elements (data and fit). The dataset can be drawn by typing 'data'. The model can be drawn by typing 'fit'.
#HD using NHANES
hd = hd_nhanes(biomarkers=c("albumin","lymph","mcv","glucose","rdw","creat","lncrp","alp","wbc"))
#Extract HD dataset
data = hd$data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.