Learn R Programming

cliot (version 0.2.0)

kidney_risk_num: Calculate Kidney Failure Risk Index

Description

Using commonly available lab values, calculate the risk index of developing kidney failure in patients with CKD, as devised by Tangri et al. 2011 and validated by Tangri et al. 2016.

Usage

kidney_risk_num(egfr, sex, acr, age, alb, phos, bicarb, calc, units="")

Value

A numeric value/vector of the chance of developing kidney failure.

Arguments

egfr

Numeric value of eGFR in mL/min/1.73m^2.

sex

Char of M (male) or F (female).

acr

Numeric value of urine albumin/creatinine ratio in mg/g.

age

Numeric value of age in years.

alb

Numeric value of serum albumin in either non-SI (g/dL) or SI (g/L).

phos

Numeric value of serum phosphorous in either non-SI (mg/dL) or SI (mmol/L).

bicarb

Numeric value of serum bicarbonate in either non-SI (mEq/L) or SI (mmol/L).

calc

Numeric value of serum calcium in either non-SI (mg/dL) or SI (mmol/L).

units

String to specify non-SI units by not including units argument or SI units by including units="SI".

References

Tangri N, Stevens LA, Griffith J, et al. A predictive model for progression of chronic kidney disease to kidney failure. JAMA. 2011;305(15):1553-9. Tangri N, Grams ME, Levey AS, et al. Multinational Assessment of Accuracy of Equations for Predicting Risk of Kidney Failure: A Meta-analysis. JAMA. 2016;315(2):164-74.

Examples

Run this code

# For non-SI measurements, the function is defined as
kidney_risk_num(10, "F", 29, 31, 2.7, 3.6, 18, 10)

# For SI measurements, the function is defined as
kidney_risk_num(10, "F", 29, 31, 2.7, 2, 18, 2.5, units = "SI")

Run the code above in your browser using DataLab