# Example 1: Stage 1 (Creatinine rise >= 0.3 mg/dL)
# Base 1.0, Max 1.3, Normal UO
akin_aki_staging(1.0, 1.3, 0, 0)
# Example 2: Stage 3 (Urine Output criteria)
# Base 1.0, Max 1.2 (No AKI by Cr), UO < 0.3 for 24h (Stage 3)
akin_aki_staging(1.0, 1.2, 3, 0)
Run the code above in your browser using DataLab