added vignette of freq

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2018-05-09 11:44:46 +02:00
1 parent 25b3346d9a
commit f05e7178cb
13 files changed
+726 -82

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ test_that("MDRO works", {
expect_equal(outcome %>% class(), c('ordered', 'factor'))
# septic_patients should have these finding using Dutch guidelines
expect_equal(outcome %>% freq(toConsole = FALSE) %>% pull(Count), c(3, 21))
expect_equal(outcome %>% freq(as.data.frame = TRUE) %>% pull(count), c(3, 21))
expect_equal(BRMO(septic_patients, info = FALSE), MDRO(septic_patients, "nl", info = FALSE))