Package: drugDemand 0.1.3

drugDemand: Drug Demand Forecasting

Performs drug demand forecasting by modeling drug dispensing data while taking into account predicted enrollment and treatment discontinuation dates. The gap time between randomization and the first drug dispensing visit is modeled using interval-censored exponential, Weibull, log-logistic, or log-normal distributions (Anderson-Bergman (2017) <doi:10.18637/jss.v081.i12>). The number of skipped visits is modeled using Poisson, zero-inflated Poisson, or negative binomial distributions (Zeileis, Kleiber & Jackman (2008) <doi:10.18637/jss.v027.i08>). The gap time between two consecutive drug dispensing visits given the number of skipped visits is modeled using linear regression based on least squares or least absolute deviations (Birkes & Dodge (1993, ISBN:0-471-56881-3)). The number of dispensed doses is modeled using linear or linear mixed-effects models (McCulloch & Searle (2001, ISBN:0-471-19364-X)).

Authors:Kaifeng Lu [aut, cre]

drugDemand_0.1.3.tar.gz
drugDemand_0.1.3.zip(r-4.7-x86_64)drugDemand_0.1.3.zip(r-4.7-arm64)drugDemand_0.1.3.zip(r-4.6-x86_64)drugDemand_0.1.3.zip(r-4.6-arm64)drugDemand_0.1.3.zip(r-4.5-x86_64)
drugDemand_0.1.3.tgz(r-4.6-x86_64)drugDemand_0.1.3.tgz(r-4.6-arm64)drugDemand_0.1.3.tgz(r-4.5-x86_64)drugDemand_0.1.3.tgz(r-4.5-arm64)
drugDemand_0.1.3.tar.gz(r-4.7-arm64)drugDemand_0.1.3.tar.gz(r-4.7-x86_64)drugDemand_0.1.3.tar.gz(r-4.6-arm64)drugDemand_0.1.3.tar.gz(r-4.6-x86_64)
drugDemand_0.1.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
drugDemand/json (API)

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

Bug tracker:https://github.com/kaifenglu/drugdemand/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

2.00 score 5 scripts 338 downloads 15 exports 104 dependencies

Last updated from:9ccfcbc0d5. Checks:13 WARNING, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64WARNING156
linux-devel-x86_64WARNING191
source / vignettesOK236
linux-release-arm64WARNING147
linux-release-x86_64WARNING184
macos-release-arm64WARNING173
macos-release-x86_64WARNING264
macos-oldrel-arm64WARNING135
macos-oldrel-x86_64WARNING259
windows-devel-arm64WARNING264
windows-devel-x86_64WARNING155
windows-release-arm64WARNING262
windows-release-x86_64WARNING187
windows-oldrel-x86_64WARNING166
wasm-releaseOK135

Exports:f_bar_chartf_cum_dosef_dispensing_modelsf_dose_drawf_dose_draw_1f_dose_draw_t_1f_dose_observedf_dose_ppf_drug_demandf_fit_dif_fit_kif_fit_t0f_fit_tif_ongoing_newrdirichlet

Dependencies:askpassassertthatbase64encbbmlebdsmatrixBHbslibcachemclicodetoolscommonmarkcpp11crosstalkcurldata.tabledeSolvedigestdoParalleldoRNGdplyrerifyevaluateeventPredfarverfastGHQuadfastmapfastmatrixflexsurvfontawesomeforeachfsgenericsggplot2gluegtablehighrhtmltoolshtmlwidgetshttpuvhttrisobanditeratorsjquerylibjsonliteknitrL1packlabelinglaterlatticelazyevallifecyclelrstatlsodamagrittrMASSMatrixmemoisemgcvmimemstatemuhazmvtnormnlmenumDerivopensslotelpillarpkgconfigplotlypromisespurrrquadprogR6rappdirsRColorBrewerRcppRcppArmadilloRcppParallelRcppThreadrlangrmarkdownrngtoolsrstpm2S7sassscalesshinysourcetoolsstatmodstringistringrsurvivalsystibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunxtableyaml