# Example 1: Partial Response
# -40% change, no new lesions, enhancement still present
mrecist_assessment(-40, 0, 0, 1)
# Example 2: Progressive Disease (New Lesion)
# -10% change (stable target), but new lesion present
mrecist_assessment(-10, 1, 0, 1)
Run the code above in your browser using DataLab