# Example 1: High Risk (Class IV)
# BUN 30 (+1), Alert (0), Pulse 115 (+1), Age 70 (+1)
# Score = 3
bap65_copd(30, 0, 115, 70)
# Example 2: Low Risk (Class I)
# BUN 15 (0), Alert (0), Pulse 80 (0), Age 60 (0)
# Score = 0
bap65_copd(15, 0, 80, 60)
Run the code above in your browser using DataLab