Package: daySupply 0.1.0

daySupply: Calculating Days' Supply and Daily Dose of Prescriptions

Allows clinicians and researchers to compute daily dose (and subsequently days' supply) for prescription refills using the following methods: Fixed window, fixed tablet, defined daily dose (DDD), and Random Effects Warfarin Days' Supply (REWarDS). Daily dose is the computed dose that the patient takes every day. For medications with fixed dosing (e.g. direct oral anticoagulants) this is known and does not need to be estimated. For medications with varying dose such as warfarin, however, the daily dose should be assumed or estimated to allow measurement of drug exposure. Days’ supply is the number of days that patients’ supply of medication will last after each prescription fill. Estimating days’ supply is necessary to calculate drug exposure. The package computes days’ supply and daily dose at both the prescription and patient levels. Results at the prescription level are denoted with “-Rx-” and those at patient level are denoted with “-Pt-”.

Authors:Abdollah Safari [aut, cre], Shahrzad Salmasi [aut], Peter Loewen [aut]

daySupply_0.1.0.tar.gz
daySupply_0.1.0.zip(r-4.5)daySupply_0.1.0.zip(r-4.4)daySupply_0.1.0.zip(r-4.3)
daySupply_0.1.0.tgz(r-4.4-any)daySupply_0.1.0.tgz(r-4.3-any)
daySupply_0.1.0.tar.gz(r-4.5-noble)daySupply_0.1.0.tar.gz(r-4.4-noble)
daySupply_0.1.0.tgz(r-4.4-emscripten)daySupply_0.1.0.tgz(r-4.3-emscripten)
daySupply.pdf |daySupply.html
daySupply/json (API)

# Install 'daySupply' in R:
install.packages('daySupply', repos = c('https://ab-sa.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ab-sa/daysupply/issues

On CRAN:

4 exports 0.62 score 26 dependencies 149 downloads

Last updated 3 years agofrom:27d776722d. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 12 2024
R-4.5-winOKSep 12 2024
R-4.5-linuxOKSep 12 2024
R-4.4-winOKSep 12 2024
R-4.4-macOKSep 12 2024
R-4.3-winOKSep 12 2024
R-4.3-macOKSep 12 2024

Exports:definedDailyDosefixedTabletfixedWindowREWarDS

Dependencies:bootclidplyrfansigenericsgluelatticelifecyclelme4magrittrMASSMatrixminqanlmenloptrpillarpkgconfigR6RcppRcppEigenrlangtibbletidyselectutf8vctrswithr

Readme and manuals

Help Manual

Help pageTopics
Defined daily dosedefinedDailyDose
Fixed tabletfixedTablet
Fixed windowfixedWindow
REWarDSREWarDS