# Example 1: Harmless Course Likely
# No rebound, Hct 40 (Male), Cr 1.0
haps_score(0, 40, 1.0, "male")
# Example 2: Risk of Severe Course
# No rebound, but Hct 45 (Male -> Abnormal), Cr 1.0
haps_score(0, 45, 1.0, "male")
Run the code above in your browser using DataLab