# Example 1: High Risk Profile
# 15 days alcohol, High cravings (4), Low confidence (1)
brief_addiction_monitor(15, 0, 0, 2, 2, 3, 3, 4, 3, 1, 1, 0, 2, 1, 1, 0, 1)
# Example 2: Strong Recovery Profile
# 0 days use, Low risk factors, High protection, 12 days self-help
brief_addiction_monitor(0, 0, 0, 0, 0, 1, 0, 1, 0, 4, 4, 3, 4, 3, 4, 12, 4)
Run the code above in your browser using DataLab