# Example 1: Meets Criteria
# 30mm (3cm) tumor, 3 nodules, No invasion
# Score = 3 + 3 = 6 (<= 7)
metroticket_hcc_survival(30, 3, "absent")
# Example 2: Exceeds Criteria
# 50mm (5cm) tumor, 3 nodules, No invasion
# Score = 5 + 3 = 8 (> 7)
metroticket_hcc_survival(50, 3, "absent")
# Example 3: High Risk
# 30mm tumor, 2 nodules, Vascular invasion present
metroticket_hcc_survival(30, 2, "present")
Run the code above in your browser using DataLab