---
title: "Calculating Mean Arterial Pressure"
author: "Athanasia Monika Mowinckel"
date: "`r Sys.Date()`"
output: rmarkdown::html_vignette
vignette: >
  %\VignetteIndexEntry{Calculating Mean Arterial Pressure}
  %\VignetteEngine{knitr::rmarkdown}
  %\VignetteEncoding{UTF-8}
---

```{r setup, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
options(rmarkdown.html_vignette.check_title = FALSE)
library(Conversions)
```

There are two functions for blood pressure in this package.
One for calculating the mean of the bloodspressure measurement, since we measure it several times.
And the other to calulcate the mean arterial pressure (MAP).

MAP is calculated with the following formulae:

$$ MAP \simeq \frac{(2 \times diastolic) + systolic}{3} $$


