1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 10:31:53 +02:00

(v1.1.0.9005) lose dependencies

This commit is contained in:
2020-05-16 20:08:21 +02:00
parent 7f3da74b17
commit df2456b91f
30 changed files with 342 additions and 736 deletions

View File

@ -62,7 +62,7 @@ As with many uses in R, we need some additional packages for AMR analysis. Our p
Our `AMR` package depends on these packages and even extends their use and functions.
```{r lib packages, eval = FALSE}
```{r lib packages, message = FALSE, warning = FALSE, results = 'asis'}
library(dplyr)
library(ggplot2)
library(AMR)
@ -71,11 +71,6 @@ library(AMR)
# install.packages(c("dplyr", "ggplot2", "AMR"))
```
```{r lib packages 2, echo = FALSE, results = 'asis'}
library(AMR)
library(dplyr)
```
# Creation of data
We will create some fake example data to use for analysis. For antimicrobial resistance analysis, we need at least: a patient ID, name or code of a microorganism, a date and antimicrobial results (an antibiogram). It could also include a specimen type (e.g. to filter on blood or urine), the ward type (e.g. to filter on ICUs).