(v1.1.0.9019) mo_source fix

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-05-25 01:01:14 +02:00
1 parent f5ff2e6634
commit ae1969b941
73 files changed
+619 -571

No files matched your search

+2 -3
View File
@@ -477,8 +477,7 @@ The next example uses the `example_isolates` data set. This is a data set includ
We will compare the resistance to fosfomycin (column `FOS`) in hospital A and D. The input for the `fisher.test()` can be retrieved with a transformation like this:
```{r, results = 'markup'}
# use package 'tidyr' to pivot data;
# it gets installed with this 'AMR' package
# use package 'tidyr' to pivot data:
library(tidyr)
check_FOS <- example_isolates %>%
@@ -501,4 +500,4 @@ We can apply the test now with:
fisher.test(check_FOS)
```
As can be seen, the p value is `r round(fisher.test(check_FOS)$p.value, 3)`, which means that the fosfomycin resistance found in hospital A and D are really different.
As can be seen, the p value is `r round(fisher.test(check_FOS)$p.value, 3)`, which means that the fosfomycin resistance found in isolates from patients in hospital A and D are really different.