# Example 1: High Risk (Standard) / Poor Risk (R-IPI)
# Age 70 (+1), Stage IV (+1), LDH 2x (+1), ECOG 1 (0), 2 Extranodal (+1)
# Score = 4
ipi_score_dlbcl(70, 4, 2.0, 1, 2)
# Example 2: Low Risk (Standard) / Very Good Risk (R-IPI)
# Age 50 (0), Stage II (0), LDH 0.8 (0), ECOG 0 (0), 0 Extranodal (0)
# Score = 0
ipi_score_dlbcl(50, 2, 0.8, 0, 0)
Run the code above in your browser using DataLab