Masswear
Masswear
One of the greatest limitations in EHD adherence research is the lack of doses, or durations of supply in many data sets. Having the ability to calculate durations of supply...
map.event.coords.to.plot accepts only a single value for x (and presumably y). It would be useful to supply `x` as a vector of event dates, e.g. to annotate multiple events at...
Research conducted with synthetic datasets facilitates sharing of data to ensure reproducability and transparency. A function based on our work on adherence trajectories or other approaches (e.g. [Dahmen, Jessamyn, and...
The Medicare Part C & D Star Ratings Technical Notes specify a PDC calculation method, including adjustments for special periods, see Attachment L in https://www.cms.gov/Medicare/Prescription-Drug-Coverage/PrescriptionDrugCovGenIn/Downloads/2019-Technical-Notes-preview-2.pdf It seems that a combination...
Add link to https://ddediu.github.io/AdhereR/compute_event_durations/compute_event_durations.html to description in https://cran.r-project.org/web/packages/AdhereR/vignettes/AdhereR-overview.html#computing-event-duration-from-prescription-dispensing-and-hospitalization-data
For CMA_per_episode and CMA_sliding_windows (and most likely CMA_polypharmacy), the code for CMA-specific arguments is duplicated. This makes maintenance harder and can be a risk if new CMAs with specific default...
With `compute_event_duration`, it's possible to have multiple "secondary events" created from the same primary medication event, e.g. in case of dosage changes, treatment interruptions, or special intervals like hospitalizations etc...
Add function to calculate the between-refill probability of _r_ consecutively missed doses based on Feller’s approximating formula from general run theory. See here: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0194713#sec013 This could predict the probability of...
After the preset time, the arduino (AiO) freezes and requires a manual reset. Replacing `delete this;` on line 469 with `shutDown();` resolves the issue.