eGFR: Estimation of glomerular filtration rate (eGFR) based on sex,...

View source: R/clin_estimates.R

eGFRR Documentation

Estimation of glomerular filtration rate (eGFR) based on sex, age, and either serum creatinine and/or cystatin C

Description

[Experimental]

eGFR computes eGFR according to different rules (see references).

Usage

eGFR(data, age_var = "age", sex_var = "sex", crea_var = NULL, cys_var = NULL)

Arguments

data

name of data set (tibble/data.frame) to analyze.

age_var

name of column with patient age in years, default=age.

sex_var

name of column with sex, assumed as female and male.

crea_var

name of column with creatinine in mg/dl. If not available, leave as NULL.

cys_var

name of column with cystatin C in mg/l. If not available, leave as NULL.

Value

A list with 3 elements:

eGFR_crea

eGFR_cystatin

eGFR_creatinine_cystatin

References

https://www.kidney.org/content/ckd-epi-creatinine-cystatin-equation-2021

https://www.kidney.org/content/ckd-epi-creatinine-equation-2021

https://www.kidney.org/content/ckd-epi-cystatin-c-equation-2012


wrappedtools documentation built on Oct. 10, 2024, 5:07 p.m.