powered by
This function performs the simulation of the partitioned survival health economic model developed to test the functionalities of the package.
perform_simulation_psm(l_params, min_fct = TRUE)
A vector. This vector contains the (un)discounted intermediate and final outcomes of the health economic model.
list. List of inputs of the health economic model.
logical. Should a minimum function be used to ensure PFS remains lower than OS? Default is TRUE.
# 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)
Run the code above in your browser using DataLab