# Compute MAP based on diastolic and systolic blood pressure
compute_map(diabp = 51, sysbp = 121)
# Compute MAP based on diastolic and systolic blood pressure and heart rate
compute_map(diabp = 51, sysbp = 121, hr = 59)
Run the code above in your browser using DataLab