Learn R Programming

pacheck (version 0.2.2)

perform_simulation_psm: Perform the health economic simulation using partitioned survival model.

Description

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)

Value

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

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.

Examples

Run this code
# 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