mirror of
https://github.com/msberends/AMR.git
synced 2025-09-02 18:24:09 +02:00
(v1.4.0.9012) reference_df fix
This commit is contained in:
@@ -80,6 +80,11 @@ a \%like\% b
|
||||
if (require("dplyr")) {
|
||||
example_isolates \%>\%
|
||||
filter(mo_name(mo) \%like\% "^ent")
|
||||
|
||||
example_isolates \%>\%
|
||||
mutate(group = case_when(hospital_id \%like\% "A|D" ~ "Group 1",
|
||||
mo_name(mo) \%not_like\% "^Staph" ~ "Group 2a",
|
||||
TRUE ~ "Group 2b"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user