# Example 1: Injury Class (High Creatinine)
# Baseline Cr 1.0, Current Cr 2.5 (>2x increase)
rifle_criteria_aki(1.0, 2.5, 0, 1.0, 0, 0)
# Example 2: Failure Class (Low Urine Output)
# Cr normal, UO < 0.3 ml/kg/h for 24 hours
rifle_criteria_aki(1.0, 1.1, 0, 0.2, 24, 0)
Run the code above in your browser using DataLab