Computes mean arterial pressure (MAP) based on diastolic and systolic blood pressure. Optionally heart rate can be used as well.
compute_map(diabp, sysbp, hr = NULL)A numeric vector of MAP values
$$\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 %>%.
BDS-Findings Functions that returns a vector:
compute_bmi(),
compute_bsa(),
compute_egfr(),
compute_framingham(),
compute_qtc(),
compute_qual_imputation(),
compute_qual_imputation_dec(),
compute_rr(),
compute_scale(),
transform_range()
# Compute MAP based on diastolic and systolic blood pressure
compute_map(diabp = 51, sysbp = 121)
#> [1] 74.33333
# Compute MAP based on diastolic and systolic blood pressure and heart rate
compute_map(diabp = 51, sysbp = 121, hr = 59)
#> [1] 73.03907