AdhereR0.8.2 package

Adherence to Medications

callAdhereR

callAdhereR.

CMA_per_episode

CMA_per_episode constructor.

CMA_polypharmacy

CMA constructor for polypharmacy.

CMA_sliding_window

CMA_sliding_window constructor.

CMA0

CMA0 constructor.

CMA1

CMA1 and CMA3 constructors.

CMA2

CMA2 and CMA4 constructors.

CMA5

CMA5 constructor.

CMA6

CMA6 constructor.

CMA7

CMA7 constructor.

CMA8

CMA8 constructor.

CMA9

CMA9 constructor.

compute_event_durations

Computation of event durations.

compute.event.int.gaps

Gap Days and Event (prescribing or dispensing) Intervals.

compute.treatment.episodes

Compute Treatment Episodes.

cover_special_periods

Cover special periods.

durcomp.dispensing

Example dispensing events for 16 patients.

durcomp.hospitalisation

Example special periods for 10 patients.

durcomp.prescribing

Example prescription events for 16 patients.

get.event.plotting.area

Get the actual plotting area.

get.legend.plotting.area

Get the legend plotting area.

get.plotted.events

Get info about the plotted events.

get.plotted.partial.cmas

Get info about the plotted partial CMAs.

getCallerWrapperLocation

getCallerWrapperLocation.

getCMA

Access the actual CMA estimate from a CMA object.

getEventInfo

Access the event info from a CMA object.

getEventsToEpisodesMapping

getEventsToEpisodesMapping

getEventsToSlidingWindowsMapping

getEventsToSlidingWindowsMapping

getInnerEventInfo

Access the inner event info from a complex CMA object.

getMGs

Access the medication groups of a CMA object.

last.plot.get.info

Access last adherence plot info.

map.event.coords.to.plot

Map from event to plot coordinates.

med.events.ATC

Example of medication events with ATC codes.

med.events

Example medication events records for 100 patients.

med.groups

Example of medication groups.

plot_interactive_cma

Interactive exploration and CMA computation.

plot.CMA_per_episode

Plot CMA_per_episode and CMA_sliding_window objects.

plot.CMA0

Plot CMA0 objects.

plot.CMA1

Plot CMA0-derived objects.

print.CMA0

Print CMA0 (and derived) objects.

prune_event_durations

Prune event durations.

subsetCMA

Restrict a CMA object to a subset of patients.

time_to_initiation

Computation of initiation times.

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.