Skip to contents

This function performs the simulation of the partitioned survival health economic model developed to test the functionalities of the package.

Usage

perform_simulation_psm(l_params, min_fct = TRUE)

Arguments

l_params

list. List of inputs of the health economic model.

min_fct

logical. Should a minimum function be used to ensure PFS remains lower than OS? Default is TRUE.

Value

A vector. This vector contains the (un)discounted intermediate and final outcomes of the health economic model.

Examples

# Perform the simulation using one iteration of the probabilistic model inputs
l_inputs_det <- as.list(generate_pa_inputs_psm(n_sim = 1))
v_results_det <- perform_simulation_psm(l_inputs_det)