kdm_nhanes: kdm_nhanes

kdm_nhanesR Documentation

kdm_nhanes

Description

Train KDM algorithm in NHANES III and project into NHANES IV.

Usage

kdm_nhanes(biomarkers)

Arguments

biomarkers

A character vector indicating the names of the biomarkers included in the KDM Biological Age algorithm.

Details

Training KDM Biological Age algorithm using the NHANES III and projecting into NHANES IV dataset.

Value

An object of class "kdm". 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'.

Examples

#KDM using NHANES
kdm = kdm_nhanes(biomarkers=c("fev","sbp","totchol","hba1c","albumin","creat","lncrp","alp","bun"))

#Extract KDM dataset
data = kdm$data



dayoonkwon/BioAge documentation built on Oct. 11, 2023, 1:33 a.m.