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)drugDemand_0.1.3.zip(r-4.6)drugDemand_0.1.3.zip(r-4.5)
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
card.svg |card.png
drugDemand/json (API)
NEWS

# 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 144 downloads 15 exports 105 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-arm64WARNING177
linux-devel-x86_64WARNING194
source / vignettesOK225
linux-release-arm64WARNING181
linux-release-x86_64WARNING214
macos-release-arm64WARNING115
macos-release-x86_64WARNING266
macos-oldrel-arm64WARNING118
macos-oldrel-x86_64WARNING277
windows-develWARNING217
windows-releaseWARNING150
windows-oldrelWARNING165
wasm-releaseOK161

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.tabledeSolvedigestdoParalleldoRNGdplyrerifyevaluateeventPredfarverfastGHQuadfastmapfastmatrixflexsurvfontawesomeforeachfsgenericsggplot2gluegtablehighrhtmltoolshtmlwidgetshttpuvhttrisobanditeratorsjquerylibjsonliteknitrL1packlabelinglaterlatticelazyevallifecyclelpSolvelrstatlsodamagrittrMASSMatrixmemoisemgcvmimemstatemuhazmvtnormnlmenumDerivopensslotelpillarpkgconfigplotlypromisespurrrquadprogR6rappdirsRColorBrewerRcppRcppArmadilloRcppParallelRcppThreadrlangrmarkdownrngtoolsrstpm2S7sassscalesshinysourcetoolsstatmodstringistringrsurvivalsystibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunxtableyaml