hesim is an R package for health economic simulation modeling and decision analysis. The package can help facilitate computationally intensive simulation modeling and be used to analyze the output of simulation models. Current functionality includes:

• Individualized cost-effectiveness analysis
• Random sampling for probabilistic sensitivity analysis (PSA) and individual patient simulation (IPS)

To ensure that simulations can be run (and analyzed) in a reasonable amount of time, most functions are written in C++ using Rcpp and data manipulations are performed using the data.table package. hesim is therefore well suited for IPS, PSA, and quantifying structural uncertainty.

# Installation

# Install the latest release version from CRAN:
install.packages("hesim")

# Or the development version from GitHub:
# install.packages("devtools")
devtools::install_github("innovationValueInitiative/hesim")