1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-17 15:13:15 +02:00

count_* functions

This commit is contained in:
2018-08-22 00:02:26 +02:00
parent e47e77febc
commit 3e87c8f409
16 changed files with 504 additions and 59 deletions

13
NEWS.md
View File

@ -1,4 +1,15 @@
# 0.3.0
# 0.3.0.90xx (latest development version)
#### New
* Functions `count_R`, `count_IR`, `count_I`, `count_SI` and `count_S` to selectively count resistant or susceptibile isolates
* Function `is.rsi.eligible` to check for columns that have valid antimicrobial results, but do not have the `rsi` class yet. Transform the columns of your raw data with: `data %>% mutate_at(is.rsi.eligible, as.rsi)`
#### Changed
* Added parameters `minimum` and `as_percent` to `portion_df`
* Edited `ggplot_rsi` and `geom_rsi` so they can cope with `count_df`. The new `fun` parameter has value `portion_df` at default, but can be set to `count_df`.
* Fix for `ggplot_rsi` when the `ggplot2` was not loaded
# 0.3.0 (latest stable version)
**Published on CRAN: 2018-08-14**
#### New