You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
dr. M.S. (Matthijs) Berends 8b52f9b1be
(v1.4.0.9047) unit tests
2 years ago
.github/workflows (v1.4.0.9047) unit tests 2 years ago
R (v1.4.0.9047) unit tests 2 years ago
data (v1.3.0.9026) eucast expert rules 3.2 3 years ago
data-raw (v1.4.0.9047) unit tests 2 years ago
docs (v1.4.0.9047) unit tests 2 years ago
inst (v1.4.0.9025) is_new_episode() 2 years ago
man (v1.4.0.9046) get_episode 2 years ago
pkgdown (v1.4.0.9047) unit tests 2 years ago
tests (v1.4.0.9047) unit tests 2 years ago
vignettes (v1.4.0.9044) mo tibble printing, mo_shortname() fix 2 years ago
.Rbuildignore (v1.4.0.9037) random_* functions 2 years ago
.gitignore (v1.4.0) matching score update 2 years ago
DESCRIPTION (v1.4.0.9047) unit tests 2 years ago
LICENSE (v0.7.1.9068) gramstain to freq() 4 years ago
NAMESPACE (v1.4.0.9046) get_episode 2 years ago (v1.4.0.9047) unit tests 2 years ago (v1.4.0.9039) more unit tests 2 years ago
_pkgdown.yml (v1.4.0.9047) unit tests 2 years ago
codecov.yml (v1.4.0.9047) unit tests 2 years ago (v1.3.0) skip more CRAN tests 3 years ago (v1.4.0.9047) unit tests 2 years ago (v1.4.0.9047) unit tests 2 years ago (v1.4.0.9047) unit tests 2 years ago (v1.4.0.9047) unit tests 2 years ago

% AMR (for R)

AMR (for R)

CRAN_Badge CRAN_Downloads

AMR is a free, open-source and independent R package to simplify the analysis and prediction of Antimicrobial Resistance (AMR) and to work with microbial and antimicrobial data and properties, by using evidence-based methods. Our aim is to provide a standard for clean and reproducible antimicrobial resistance data analysis, that can therefore empower epidemiological analyses to continuously enable surveillance and treatment evaluation in any setting.

After installing this package, R knows ~70,000 distinct microbial species and all ~550 antibiotic, antimycotic and antiviral drugs by name and code (including ATC, EARS-NET, LOINC and SNOMED CT), and knows all about valid R/SI and MIC values. It supports any data format, including WHONET/EARS-Net data.

This package is fully independent of any other R package and works on Windows, macOS and Linux with all versions of R since R-3.0.0 (April 2013). It was designed to work in any setting, including those with very limited resources. It was created for both routine data analysis and academic research at the Faculty of Medical Sciences of the University of Groningen, in collaboration with non-profit organisations Certe Medical Diagnostics and Advice and University Medical Center Groningen. This R package is actively maintained and free software; you can freely use and distribute it for both personal and commercial (but not patent) purposes under the terms of the GNU General Public License version 2.0 (GPL-2), as published by the Free Software Foundation.

This is the development source of the AMR package for R. Not a developer? Then please visit our website to read more about this package.

NOTE: this source code is on GitHub (, but also automatically mirrored to GitLab (

How to get this package

Please see our website.

Bottom line: install.packages("AMR")

This R package is licensed under the GNU General Public License (GPL) v2.0. In a nutshell, this means that this package:

  • May be used for commercial purposes

  • May be used for private purposes

  • May not be used for patent purposes

  • May be modified, although:

    • Modifications must be released under the same license when distributing the package
    • Changes made to the code must be documented
  • May be distributed, although:

    • Source code must be made available when the package is distributed
    • A copy of the license and copyright notice must be included with the package.
  • Comes with a LIMITATION of liability

  • Comes with NO warranty