mirror of
https://github.com/msberends/AMR.git
synced 2025-07-09 00:02:38 +02:00
support groups for portion_df, update README
This commit is contained in:
@ -32,4 +32,13 @@ test_that("ggplot_rsi works", {
|
||||
expect_error(geom_rsi(x = "test"))
|
||||
expect_error(facet_rsi(facet = "test"))
|
||||
|
||||
# support for groups
|
||||
print(
|
||||
septic_patients %>%
|
||||
select(hospital_id, amox, cipr) %>%
|
||||
group_by(hospital_id) %>%
|
||||
ggplot_rsi() +
|
||||
facet_grid("hospital_id")
|
||||
)
|
||||
|
||||
})
|
||||
|
Reference in New Issue
Block a user