1
0
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:
2018-11-08 16:10:03 +01:00
parent 84e08f516a
commit 9be5e0318b
4 changed files with 11 additions and 4 deletions

View File

@ -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(