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 549790c2a6
1 day ago
.github prehook 1 month ago
R website 1 day ago
data website update 3 weeks ago
data-raw fix documentation 6 days ago
inst get episode unit tests 4 weeks ago
man website 1 day ago
pkgdown website 1 week ago
tests support for old rsi arguments 2 weeks ago
vignettes Version 2.0 on CRAN 1 week ago
.Rbuildignore new tibble export 7 months ago
.gitignore prehook 1 month ago
AMR.Rproj New mo algorithm, prepare for 2.0 6 months ago
CRAN-SUBMISSION Version 2.0 on CRAN 1 week ago
DESCRIPTION website 1 day ago
LICENSE (v0.7.1.9068) gramstain to freq() 4 years ago
NAMESPACE knitr format 4 weeks ago website 1 day ago check for 2.0 1 week ago
_pkgdown.yml website update 3 weeks ago
codecov.yml support new mo codes 3 months ago Version 2.0 on CRAN 1 week ago documentation for 'data.table' AB selectors 2 weeks ago
logo.svg (v1.7.1.9068) new logo, unit tests 1 year ago

AMR (for R)

This work was published in the Journal of Statistical Software (Volume 104(3); DOI 10.18637/jss.v104.i03) and formed the basis of two PhD theses (DOI 10.33612/diss.177417131 and DOI 10.33612/diss.192486375).

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. It is currently being used in over 175 countries.

After installing this package, R knows ~52,000 distinct microbial species and all ~600 antibiotic, antimycotic, and antiviral drugs by name and code (including ATC, WHONET/EARS-Net, PubChem, LOINC and SNOMED CT), and knows all about valid SIR and MIC values. It supports any data format, including WHONET/EARS-Net data. Antimicrobial names and group names are available in English, Chinese, Danish, Dutch, French, German, Greek, Italian, Japanese, Polish, Portuguese, Russian, Spanish, Swedish, Turkish, and Ukrainian.

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 Foundation 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 our university's Gitea server ( and to GitLab (

How to get this package

Please see our website.

You can install or update the AMR package from CRAN using:


It will be downloaded and installed automatically. For RStudio, click on the menu Tools > Install Packages... and then type in "AMR" and press Install.

This AMR package for R is free, open-source software and licensed under the [GNU General Public License v2.0 (GPL-2)]( These requirements are consequently legally binding: modifications must be released under the same license when distributing the package, changes made to the code must be documented, source code must be made available when the package is distributed, and a copy of the license and copyright notice must be included with the package.