knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-" )
The goal of abxaware is to help aggregate and plot antibiotic usage data in accordance with the WHO AWaRe classification.
You can install the development version from GitHub with:
# install.packages("devtools") devtools::install_github("anhoej/abxaware", build_vignettes = TRUE)
To get started, read the vignette: https://anhoej.github.io/abxaware/articles/abxaware.html.
To create a plot of antibiotic use in Danish hospitals from the included dataset abx_sales
run this:
library(abxaware) awr_plot(abx_sales, atc, ddd, time = month, unit = region, ncol = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.