mirror of
https://github.com/msberends/AMR.git
synced 2025-09-08 05:29:43 +02:00
ggplot_rsi example update, more unit tests
This commit is contained in:
@@ -151,16 +151,18 @@ library(dplyr)
|
||||
library(ggplot2)
|
||||
|
||||
septic_patients %>%
|
||||
select(amox, cipr) %>%
|
||||
select(amox, nitr, fosf, trim, cipr) %>%
|
||||
ggplot_rsi()
|
||||
```
|
||||
|
||||

|
||||
|
||||
Adjust it with any parameter you know from the `ggplot2` package:
|
||||
|
||||
```r
|
||||
septic_patients %>%
|
||||
select(amox, cipr) %>%
|
||||
ggplot_rsi(x = "Interpretation", facet = "Antibiotic")
|
||||
select(amox, nitr, fosf, trim, cipr) %>%
|
||||
ggplot_rsi(width = 0.5, colour = "black", size = 1, linetype = 2, alpha = 0.25)
|
||||
```
|
||||
|
||||

|
||||
|
Reference in New Issue
Block a user