
mccount - Estimate Recurrent Event Burden with Competing Risks
Calculates mean cumulative count (MCC) to estimate the expected cumulative number of recurrent events per person over time in the presence of competing risks and censoring. Implements both the Dong-Yasui equation method and sum of cumulative incidence method described in Dong, et al. (2015) <doi:10.1093/aje/kwu289>. Supports inverse probability weighting for causal inference as outlined in Gaber, et al. (2023) <doi:10.1093/aje/kwad031>. Provides S3 methods for printing, summarizing, plotting, and extracting results. Handles grouped analyses and integrates with 'ggplot2' <https://ggplot2.tidyverse.org/> for visualization.
Last updated
biostatisticscensoring-eventscompeting-risksepidemiologymean-cumulative-countmean-cumulative-functionrecurrent-events
4.90 score 2 stars 5 scripts 236 downloads
mmequiv - Calculate Standardized Morphine Milligram Equivalent Doses
Calculate morphine milligram equivalents (MME) for opioid dose comparison using standardized methods. Can directly call the 'NIH HEAL MME Online Calculator' <https://research-mme.wakehealth.edu/api> API or replicate API calculations on the user's local machine from the comfort of 'R'. Creation of the 'NIH HEAL MME Online Calculator' and the MME calculations implemented in this package are described in Adams MCB, Sward KA, Perkins ML, Hurley RW (2025) <doi:10.1097/j.pain.0000000000003529>.
Last updated
biostatisticsepidemiologymorphine-milligram-equivalentopioid-analysisopioid-prescribingpain-research
2.70 score 1 stars 2 scripts 457 downloads