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.5)drugDemand_0.1.3.zip(r-4.4)drugDemand_0.1.3.zip(r-4.3)
drugDemand_0.1.3.tgz(r-4.4-x86_64)drugDemand_0.1.3.tgz(r-4.4-arm64)drugDemand_0.1.3.tgz(r-4.3-x86_64)drugDemand_0.1.3.tgz(r-4.3-arm64)
drugDemand_0.1.3.tar.gz(r-4.5-noble)drugDemand_0.1.3.tar.gz(r-4.4-noble)
drugDemand_0.1.3.tgz(r-4.4-emscripten)drugDemand_0.1.3.tgz(r-4.3-emscripten)
drugDemand.pdf |drugDemand.html
drugDemand/json (API)
NEWS

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

Peer review:

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

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

On CRAN:

2.70 score 5 scripts 202 downloads 15 exports 102 dependencies

Last updated 9 months agofrom:9ccfcbc0d5. Checks:OK: 1 WARNING: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 23 2024
R-4.5-win-x86_64WARNINGNov 23 2024
R-4.5-linux-x86_64WARNINGNov 23 2024
R-4.4-win-x86_64WARNINGNov 23 2024
R-4.4-mac-x86_64WARNINGNov 23 2024
R-4.4-mac-aarch64WARNINGNov 23 2024
R-4.3-win-x86_64WARNINGNov 23 2024
R-4.3-mac-x86_64WARNINGNov 23 2024
R-4.3-mac-aarch64WARNINGNov 23 2024

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:askpassassertthatbase64encbbmlebdsmatrixBHbslibcachemclicodetoolscolorspacecommonmarkcpp11crayoncrosstalkcurldata.tabledeSolvedigestdoParalleldoRNGdplyrerifyevaluateeventPredfansifarverfastGHQuadfastmapfastmatrixflexsurvfontawesomeforeachfsgenericsggplot2gluegtablehighrhtmltoolshtmlwidgetshttpuvhttrisobanditeratorsjquerylibjsonliteknitrL1packlabelinglaterlatticelazyevallifecyclemagrittrMASSMatrixmemoisemgcvmimemstatemuhazmunsellmvtnormnlmenumDerivopensslpillarpkgconfigplotlypromisespurrrquadprogR6rappdirsRColorBrewerRcppRcppArmadillorlangrmarkdownrngtoolsrstpm2sassscalesshinysourcetoolsstatmodstringistringrsurvivalsystibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunxtableyaml