Learn R Programming

pacheck (version 0.2.2)

perform_dowsa: Perform deterministic one-way sensitivity analyses using probabilistic inputs and outputs.

Description

This function performs the deterministic one-way sensitivity analyses (DOWSA) using probabilistic inputs and outputs for the health economic model developed to test the package. The outcome of the DOWSA is the incremental net monetary benefit.

Usage

perform_dowsa(df, vars, wtp = 120000)

Value

A dataframe. The outcome of the deterministic one-way sensitivity analyses is the iNMB by default.

Arguments

df

a dataframe. This dataframe contains the probabilistic inputs and outputs of the health economic model.

vars

a vector of strings. Contains the name of the variables for which to perform the deterministic one-way sensitivity analysis.

wtp

numeric. The willingness to pay per QALY in euros. Default is 120,000 euros per QALY.

Examples

Run this code
# Perform the deterministic one-way sensitivity analyses for a selection of parameters
# \donttest{
data(df_pa)
df_res_dowsa <- perform_dowsa(df = df_pa,
                              vars = c("rr", "c_pfs"))
                              # }

Run the code above in your browser using DataLab