mirror of
https://github.com/msberends/AMR.git
synced 2025-12-15 09:10:25 +01:00
parameter combine_IR
This commit is contained in:
@@ -117,6 +117,12 @@ test_that("old rsi works", {
|
||||
septic_patients$amox %>% portion_I(),
|
||||
septic_patients$amox %>% portion_R())
|
||||
)
|
||||
expect_equal(
|
||||
septic_patients %>% select(amox) %>% portion_df(combine_IR = TRUE) %>% pull(Value),
|
||||
c(septic_patients$amox %>% portion_S(),
|
||||
septic_patients$amox %>% portion_IR())
|
||||
)
|
||||
|
||||
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user