Computes the Kidney Failure Risk Equation probability at 2 or 5 years.
risk_pred_core(
age,
sex,
eGFR,
uACR,
is_north_american,
dm = NULL,
htn = NULL,
albumin = NULL,
phosphorous = NULL,
bicarbonate = NULL,
calcium = NULL,
years = 2
)
Numeric probability between 0 and 1.
Numeric age in years.
Integer sex indicator, 1 for male, 0 for female.
Estimated glomerular filtration rate, mL/min/1.73 \(\text{m}^{2}\).
Urine albumin to creatinine ratio, mg/g.
Logical, patient from a North American cohort.
Optional integer diabetes indicator, 1 yes, 0 no.
Optional integer hypertension indicator, 1 yes, 0 no.
Optional serum albumin, g/dL, required for 8 variable model.
Optional serum phosphorus, mg/dL, 8 variable model.
Optional serum bicarbonate, mmol/L, 8 variable model.
Optional serum calcium, mg/dL, 8 variable model.
Integer, prediction horizon, 2 or 5.
Tangri, N., Stevens, L. A., Griffith, J., Tighiouart, H., Djurdjev, O., Naimark, D., Levin, A., & Levey, A. S. (2011). A predictive model for progression of chronic kidney disease to kidney failure. JAMA, 305(15), 1553–1559. tools:::Rd_expr_doi("10.1001/jama.2011.451")
Tangri, N., Grams, M. E., Levey, A. S., et al. (2016). Multinational assessment of the accuracy of the Kidney Failure Risk Equation in people with chronic kidney disease. JAMA, 315(2), 164–174. tools:::Rd_expr_doi("10.1001/jama.2015.18202")
risk_pred_core(60, 1, 45, 120, TRUE, dm = 1, htn = 1, years = 2)
Run the code above in your browser using DataLab