mirror of
https://github.com/msberends/AMR.git
synced 2026-10-01 04:13:33 +02:00
freq: fix na.rm in groups
This commit is contained in:
1 parent
84e08f516a
commit
9be5e0318b
4 files changed
+11
-4
No files matched your search
@@ -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