# Example 1: Moderate Withdrawal
# High cry (2), Sleep 1-2h (2), Tremors mild dist (1), Sweating (1), Loose stool (2)
modified_finnegan_nas_score(2, 2, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2)
# Example 2: Severe Withdrawal
# Continuous cry (3), Sleep <1h (3), Tremors undisturbed marked (4),
# Fever >38.4 (2), Watery stool (3)
modified_finnegan_nas_score(3, 3, 0, 4, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3)
Run the code above in your browser using DataLab