1
0
mirror of https://github.com/msberends/AMR.git synced 2025-09-08 05:29:43 +02:00

add labels_rsi_count

This commit is contained in:
2018-09-16 22:11:17 +02:00
parent b792a2754e
commit db14781593
16 changed files with 110 additions and 29 deletions

View File

@@ -161,7 +161,8 @@ Adjust it with any parameter you know from the `ggplot2` package:
```r
septic_patients %>%
select(amox, nitr, fosf, trim, cipr) %>%
ggplot_rsi(width = 0.5, colour = "black", size = 1, linetype = 2, alpha = 0.25)
ggplot_rsi(datalabels = FALSE,
width = 0.5, colour = "black", size = 1, linetype = 2, alpha = 0.25)
```
![example_3_rsi](man/figures/rsi_example3.png)
@@ -174,7 +175,8 @@ septic_patients %>%
group_by(hospital_id) %>%
ggplot_rsi(x = "hospital_id",
facet = "Antibiotic",
nrow = 1) +
nrow = 1,
datalabels = FALSE) +
labs(title = "AMR of Anti-UTI Drugs Per Hospital",
x = "Hospital")
```