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

View source: R/fct_hemodel.R

perform_simulation_psmR Documentation

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)

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 the deterministic model inputs
l_inputs_det <- generate_det_inputs()
v_results_det <- perform_simulation_psm(l_inputs_det)

Xa4P/pacheck documentation built on April 14, 2025, 1:51 p.m.