Package: dynamicpv 0.4.2

Dominic Muston

dynamicpv: Evaluates Present Values and Health Economic Models with Dynamic Pricing and Uptake

The goal of 'dynamicpv' is to provide a simple way to calculate (net) present values and outputs from health economic models (especially cost-effectiveness and budget impact) in discrete time that reflect dynamic pricing and dynamic uptake. Dynamic pricing is also known as life cycle pricing; dynamic uptake is also known as multiple or stacked cohorts, or dynamic disease prevalence. Shafrin (2024) <doi:10.1515/fhep-2024-0014> provides an explanation of dynamic value elements, in the context of Generalized Cost Effectiveness Analysis, and Puls (2024) <doi:10.1016/j.jval.2024.03.006> reviews challenges of incorporating such dynamic value elements. This package aims to reduce those challenges.

Authors:Dominic Muston [aut, cre], John Blischak [ctb], Merck & Co., Inc., Rahway, NJ, USA and its affiliates [cph, fnd]

dynamicpv_0.4.2.tar.gz
dynamicpv_0.4.2.zip(r-4.7)dynamicpv_0.4.2.zip(r-4.6)dynamicpv_0.4.2.zip(r-4.5)
dynamicpv_0.4.2.tgz(r-4.6-any)dynamicpv_0.4.2.tgz(r-4.5-any)
dynamicpv_0.4.2.tar.gz(r-4.7-any)dynamicpv_0.4.2.tar.gz(r-4.6-any)
dynamicpv_0.4.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
dynamicpv/json (API)

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

Bug tracker:https://github.com/msdllcpapers/dynamicpv/issues

Pkgdown/docs site:https://msdllcpapers.github.io

Datasets:
  • oncpsm - Heemod cost-effectiveness model example

On CRAN:

Conda:

6.59 score 7 stars 7 scripts 468 downloads 11 exports 44 dependencies

Last updated from:2b5aa7d319. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE183
source / vignettesOK231
linux-release-x86_64NOTE178
macos-release-arm64NOTE134
macos-oldrel-arm64NOTE140
windows-develNOTE115
windows-releaseNOTE111
windows-oldrelNOTE110
wasm-releaseOK177

Exports:addproddynpvfuturepvget_dynfieldsget_param_valuencohntimessum_by_cohtotaltrim_vecuptake

Dependencies:BHbitbit64clicliprcpp11crayondplyrfarvergenericsggplot2gluegtableheemodhmsisobandlabelinglifecyclemagrittrmvnfastpillarpkgconfigprettyunitsprogresspurrrR6RColorBrewerRcppRcppArmadilloreadrrlangS7scalesstringistringrtibbletidyrtidyselecttzdbutf8vctrsviridisLitevroomwithr

Budget Impact Applications
Introduction | Methods and Assumptions | General assumptions | Dynamic pricing | Dynamic uptake | Implementation | Set-up | Results | Scenario 1: No dynamic uptake or pricing | Scenario 2: Dynamic pricing, no dynamic uptake | Scenario 3: Dynamic uptake, not dynamic pricing | Scenario 4: Dynamic pricing and uptake | Summary | Discussion

Last update: 2026-03-11
Started: 2025-10-07

Cost-Effectiveness Applications
Introduction | Methods and Assumptions | General assumptions | Dynamic pricing | Dynamic uptake | Implementation | Set-up | Cost-effectiveness model | Results | Without dynamic pricing or dynamic uptake | Scenario 1: No dynamic uptake or pricing | Scenario 2: Dynamic pricing, no dynamic uptake | Scenario 3: Dynamic uptake, not dynamic pricing | Scenario 4: Dynamic pricing and uptake | Summary of results | Future single cohort ICER | Discussion

Last update: 2026-01-10
Started: 2025-09-28

Mathematical Framework
Introduction and Motivation | What are dynamic pricing and dynamic uptake? | Framework | Overview of package | References

Last update: 2026-01-10
Started: 2026-01-10

Net Present Value
Introduction | NPV with static pricing and static uptake | NPV with dynamic pricing and static uptake | Prices that increase regularly | Prices that increase irregularly | NPV with static pricing and dynamic uptake | Uptake is constant over time | Uptake varies over time | NPV with dynamic pricing and dynamic uptake

Last update: 2026-01-10
Started: 2026-01-10