phenoage_nhanes: phenoage_nhanes

View source: R/phenoage_nhanes.R

phenoage_nhanesR Documentation

phenoage_nhanes

Description

Train Phenotypic Age algorithm in NHANES III and project into NHANES IV.

Usage

phenoage_nhanes(biomarkers)

Arguments

biomarkers

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

Details

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

Value

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

#Phenoage using NHANES
phenoage = phenoage_nhanes(biomarkers=c("albumin_gL","lymph","mcv","glucose_mmol",
                           "rdw","creat_umol","lncrp","alp","wbc"))

#Extract phenoage dataset
data = phenoage$data



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