Skip to content

hesim

Health Economic Simulation Modeling and Decision Analysis

v0.5.8 · Jan 12, 2026 · GPL-3

Description

A modular and computationally efficient R package for parameterizing, simulating, and analyzing health economic simulation models. The package supports cohort discrete time state transition models (Briggs et al. 1998) <doi:10.2165/00019053-199813040-00003>, N-state partitioned survival models (Glasziou et al. 1990) <doi:10.1002/sim.4780091106>, and individual-level continuous time state transition models (Siebert et al. 2012) <doi:10.1016/j.jval.2012.06.014>, encompassing both Markov (time-homogeneous and time-inhomogeneous) and semi-Markov processes. Decision uncertainty from a cost-effectiveness analysis is quantified with standard graphical and tabular summaries of a probabilistic sensitivity analysis (Claxton et al. 2005, Barton et al. 2008) <doi:10.1002/hec.985>, <doi:10.1111/j.1524-4733.2008.00358.x>. Use of C++ and data.table make individual-patient simulation, probabilistic sensitivity analysis, and incorporation of patient heterogeneity fast.

Downloads

527

Last 30 days

7604th

1.9K

Last 90 days

10.2K

Last year

Trend: -15.3% (30d vs prior 30d)

CRAN Check Status

7 NOTE
7 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (7 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘hesim/libs/hesim.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘hesim/libs/hesim.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-windows-x86_64

compiled code

File 'hesim/libs/x64/hesim.dll':
  Found non-API call to R: 'R_UnboundValue'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 23.4Mb
  sub-directories of 1Mb or more:
    doc    2.2Mb
    libs  19.4Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 24.5Mb
  sub-directories of 1Mb or more:
    doc    2.2Mb
    libs  20.4Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.4Mb
  sub-directories of 1Mb or more:
    doc    2.2Mb
    libs   2.4Mb
NOTE r-patched-linux-x86_64

compiled code

File ‘hesim/libs/hesim.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 23.4Mb
  sub-directories of 1Mb or more:
    doc    2.2Mb
    libs  19.4Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 24.5Mb
  sub-directories of 1Mb or more:
    doc    2.2Mb
    libs  20.4Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.4Mb
  sub-directories of 1Mb or more:
    doc    2.2Mb
    libs   2.4Mb

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies data.table flexsurv ggplot2 MASS msm Rcpp R6 survival estar hesim

Version History

new 0.5.8 Mar 10, 2026
updated 0.5.8 ← 0.5.7 diff Jan 12, 2026
updated 0.5.7 ← 0.5.6 diff Oct 10, 2025
updated 0.5.6 ← 0.5.5 diff Sep 28, 2025
updated 0.5.5 ← 0.5.4 diff Sep 18, 2024
updated 0.5.4 ← 0.5.3 diff Feb 11, 2024
updated 0.5.3 ← 0.5.2 diff Sep 2, 2022
updated 0.5.2 ← 0.5.1 diff Mar 30, 2022
updated 0.5.1 ← 0.5.0 diff Jul 25, 2021
updated 0.5.0 ← 0.4.2 diff Feb 16, 2021
updated 0.4.2 ← 0.4.1 diff Dec 6, 2020
updated 0.4.1 ← 0.4.0 diff Oct 4, 2020
updated 0.4.0 ← 0.3.1 diff Sep 28, 2020
updated 0.3.1 ← 0.3.0 diff Jun 2, 2020
updated 0.3.0 ← 0.2.3 diff May 24, 2020
updated 0.2.3 ← 0.2.2 diff Mar 16, 2020
updated 0.2.2 ← 0.2.1 diff Nov 25, 2019
updated 0.2.1 ← 0.2.0 diff Jul 2, 2019
updated 0.2.0 ← 0.1.0 diff Mar 28, 2019
new 0.1.0 Dec 2, 2017