mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 18:01:50 +02:00
count_* functions
This commit is contained in:
@ -29,4 +29,13 @@ test_that("ggplot_rsi works", {
|
||||
summarise_all(portion_IR) %>% as.double()
|
||||
)
|
||||
|
||||
expect_equal(
|
||||
(septic_patients %>% select(amcl, cipr) %>% ggplot_rsi(x = "Antibiotic",
|
||||
facet = "Interpretation",
|
||||
fun = count_df))$data %>%
|
||||
summarise_all(count_IR) %>% as.double(),
|
||||
septic_patients %>% select(amcl, cipr) %>%
|
||||
summarise_all(count_IR) %>% as.double()
|
||||
)
|
||||
|
||||
})
|
||||
|
Reference in New Issue
Block a user