1
0
mirror of https://github.com/msberends/AMR.git synced 2025-09-07 12:09:38 +02:00

(v0.7.1.9015) Remove freq()

This commit is contained in:
2019-07-29 13:33:48 +02:00
parent 9ac5a34b36
commit 240f03a672
75 changed files with 668 additions and 2877 deletions

View File

@@ -1,4 +1,7 @@
# AMR 0.7.1.9014
# AMR 0.7.1.9015
### Breaking
* Function `freq()` has moved to a new package, [`clean`](https://github.com/msberends/clean) ([CRAN link](https://cran.r-project.org/package=clean)). Creating frequency tables is actually not the scope of this package (never was) and this function has matured a lot over the last two years. We decided to create a new package for data cleaning and checking and it perfectly fits the `freq()` function. The [`clean`](https://github.com/msberends/clean) package is available on CRAN and will be installed automatically when updating the `AMR` package, that now imports it. In a later stage, the `skewness()` and `kurtosis()` functions will be moved to the `clean` package too.
### New
* Additional way to calculate co-resistance, i.e. when using multiple antibiotics as input for `portion_*` functions or `count_*` functions. This can be used to determine the empiric susceptibily of a combination therapy. A new parameter `only_all_tested` (**which defaults to `FALSE`**) replaces the old `also_single_tested` and can be used to select one of the two methods to count isolates and calculate portions. The difference can be seen in this example table (which is also on the `portion` and `count` help pages), where the %SI is being determined: