Calculate AKI stage according to KDIGO criteria
kdigo_stage(dat, baseline_scr, age)Data frame containing at least the following columns:
scr: serum creatinine
t: creatinine sample times in hours
baseline_scr_diff: difference between baseline scr and scr at current
timepoint
egfr: eGFR at timepoint
Baseline serum creatinine value (numeric)
Patient age