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:
@@ -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)
|
||||
```
|
||||
|
||||

|
||||
@@ -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")
|
||||
```
|
||||
|
Reference in New Issue
Block a user