mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 16:42:10 +02:00
freq: fix na.rm in groups
This commit is contained in:
@ -63,6 +63,8 @@ test_that("frequency table works", {
|
||||
|
||||
# grouping variable
|
||||
expect_output(print(septic_patients %>% group_by(gender) %>% freq(hospital_id)))
|
||||
expect_output(print(septic_patients %>% group_by(gender) %>% freq(amox, quote = TRUE)))
|
||||
expect_output(print(septic_patients %>% group_by(gender) %>% freq(amox, markdown = TRUE)))
|
||||
|
||||
# top 5
|
||||
expect_equal(
|
||||
|
Reference in New Issue
Block a user