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.7)daySupply_0.1.0.zip(r-4.6)daySupply_0.1.0.zip(r-4.5)
daySupply_0.1.0.tgz(r-4.6-any)daySupply_0.1.0.tgz(r-4.5-any)
daySupply_0.1.0.tar.gz(r-4.7-any)daySupply_0.1.0.tar.gz(r-4.6-any)
daySupply_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
daySupply/json (API)

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

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

On CRAN:

Conda:

2.70 score 1 stars 222 downloads 4 exports 28 dependencies

Last updated from:27d776722d. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK145
source / vignettesOK232
linux-release-x86_64OK153
macos-release-arm64OK142
macos-oldrel-arm64OK140
windows-develOK133
windows-releaseOK139
windows-oldrelOK89
wasm-releaseOK98

Exports:definedDailyDosefixedTabletfixedWindowREWarDS

Dependencies:bootclidplyrgenericsgluelatticelifecyclelme4magrittrMASSMatrixminqanlmenloptrpillarpkgconfigR6rbibutilsRcppRcppEigenRdpackreformulasrlangtibbletidyselectutf8vctrswithr

Readme and manuals

Help Manual

Help pageTopics
Defined daily dosedefinedDailyDose
Fixed tabletfixedTablet
Fixed windowfixedWindow
REWarDSREWarDS