# Example 1: 70-year-old Female
# ESR Limit = (70 + 10) / 2 = 40
# CRP Limit = (70 / 50) + 0.6 = 1.4 + 0.6 = 2.0
age_adjusted_esr_crp(70, "female")
# Example 2: Evaluation of specific labs
# 60-year-old Male with ESR 25 and CRP 1.5
# ESR Limit = 30 (Normal); CRP Limit = 1.2 (Elevated)
age_adjusted_esr_crp(60, "male", esr = 25, crp = 1.5)
Run the code above in your browser using DataLab