Computes mean arterial pressure (MAP) based on diastolic and systolic blood pressure. Optionally heart rate can be used as well.

## Arguments

- diabp
Diastolic blood pressure

A numeric vector is expected.

- sysbp
Systolic blood pressure

A numeric vector is expected.

- hr
Heart rate

A numeric vector or

`NULL`

is expected.

## Details

$$\frac{2DIABP + SYSBP}{3}$$ if it is based on diastolic and systolic blood pressure and $$DIABP + 0.01 e^{4.14 - \frac{40.74}{HR}} (SYSBP - DIABP)$$ if it is based on diastolic, systolic blood pressure, and heart rate.

Usually this computation function can not be used with `%>%`

.

## See also

BDS-Findings Functions that returns a vector:
`compute_bmi()`

,
`compute_bsa()`

,
`compute_egfr()`

,
`compute_framingham()`

,
`compute_qtc()`

,
`compute_qual_imputation_dec()`

,
`compute_qual_imputation()`

,
`compute_rr()`

,
`compute_scale()`