# Example 1: High Risk
# Age 70 (+1), Hb 9 (+2), WBC 30 (+1), Blasts 2% (+1), Symptoms Yes (+1)
# Score = 6
dipss_myelofibrosis(70, 9.0, 30, 2, 1)
# Example 2: Intermediate-1
# Age 50 (0), Hb 11 (0), WBC 10 (0), Blasts 0 (0), Symptoms Yes (+1)
# Score = 1
dipss_myelofibrosis(50, 11.0, 10, 0, 1)
Run the code above in your browser using DataLab