Learn R Programming

⚠️There's a newer version (0.8.1) of this package.Take me there.

AdhereR (version 0.7.0)

Adherence to Medications

Description

Computation of adherence to medications from Electronic Health care Data and visualization of individual medication histories and adherence patterns. The package implements a set of S3 classes and functions consistent with current adherence guidelines and definitions. It allows the computation of different measures of adherence (as defined in the literature, but also several original ones), their publication-quality plotting, the estimation of event duration and time to initiation, the interactive exploration of patient medication history and the real-time estimation of adherence given various parameter settings. It scales from very small datasets stored in flat CSV files to very large databases and from single-thread processing on mid-range consumer laptops to parallel processing on large heterogeneous computing clusters. It exposes a standardized interface allowing it to be used from other programming languages and platforms, such as Python.

Copy Link

Version

Install

install.packages('AdhereR')

Monthly Downloads

502

Version

0.7.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Dan Dediu

Last Published

September 18th, 2021

Functions in AdhereR (0.7.0)

CMA8

CMA8 constructor.
CMA0

CMA0 constructor.
CMA9

CMA9 constructor.
CMA_polypharmacy

CMA constructor for polypharmacy.
CMA5

CMA5 constructor.
CMA2

CMA2 and CMA4 constructors.
CMA6

CMA6 constructor.
CMA1

CMA1 and CMA3 constructors.
CMA_per_episode

CMA_per_episode constructor.
CMA7

CMA7 constructor.
durcomp.prescribing

Example prescription events for 16 patients.
durcomp.hospitalisation

Example special periods for 10 patients.
map.event.coords.to.plot

Map from event to plot coordinates.
med.events.ATC

Example of medication events with ATC codes.
durcomp.dispensing

Example dispensing events for 16 patients.
compute_event_durations

Computation of event durations.
getMGs

Access the medication groups of a CMA object.
get.event.plotting.area

Get the actual plotting area.
get.plotted.partial.cmas

Get info about the plotted partial CMAs.
cover_special_periods

Cover special periods.
getCMA

Access the actual CMA estimate from a CMA object.
CMA_sliding_window

CMA_sliding_window constructor.
callAdhereR

callAdhereR.
print.CMA0

Print CMA0 (and derived) objects.
med.events

Example medication events records for 100 patients.
compute.event.int.gaps

Gap Days and Event (prescribing or dispensing) Intervals.
prune_event_durations

Prune event durations.
plot_interactive_cma

Interactive exploration and CMA computation.
getEventInfo

Access the event info from a CMA object.
getCallerWrapperLocation

getCallerWrapperLocation.
plot.CMA_per_episode

Plot CMA_per_episode and CMA_sliding_window objects.
time_to_initiation

Computation of initiation times.
last.plot.get.info

Access last adherence plot info.
subsetCMA

Restrict a CMA object to a subset of patients.
med.groups

Example of medication groups.
get.legend.plotting.area

Get the legend plotting area.
plot.CMA0

Plot CMA0 objects.
get.plotted.events

Get info about the plotted events.
plot.CMA1

Plot CMA0-derived objects.
compute.treatment.episodes

Compute Treatment Episodes.