Computation of adherence to medications from Electronic Healthcare Data in R
R
Switch branches/tags
Nothing to show
Latest commit 99cd161 May 25, 2017 @ddediu Fix Issue reported by kyp0717: plotting with event dates as Date obje…
…cts fails

Plotting CMAs assumed internally that event date column is given as
strings in the ‘date.format’ format and it failed when instead they
were ‘Date’ objects. Fixed by making always converting dates to strings
within the plotting functions.

ReadMe.md

AdhereR: an R package for computing adherence to medications and for visualising medication histories

This is a package for the R open-source statistical environment implementing various ways of computing adherence to medications and visualisations of medication histories, both interactive (intended for data exploration) and high quality (intended for publication).

More information is given in the package's vignette and in the accompanying paper:

Dima AL, Dediu D (2017). Computation of adherence to medication and visualization of medication histories in R with AdhereR: Towards transparent and reproducible use of electronic healthcare data. PLoS ONE, 12(4): e0174426. doi:10.1371/journal.pone.0174426

While the package can be created from the source or installed using the source package AdhereR_X.tar.gz provided in this repository (where X refers to the package's version), we recommend that users install it directly from The Comprehensive R Archive Network (CRAN) using the normal procedure1 (i.e., install.packages("AdhereR", dep=TRUE)).

The package is implemented in pure R, but optimised to work on mid-range hardware even for large databases, and runs on any platform that supports R (and, for interactive plotting, RStudio). The code is released under GPL v3.

Feedback is welcome either directly by e-mailing us or by using GitHub's system for bug reporting and suggestions.


1 There might be a delay between the release of new versions here and their availability on CRAN; in this case, we would recommend, if possible, to wait for the version to appear on CRAN.