checks_plot_dsa: Function to do some checks before plotting sensitivity...

View source: R/4a_deterministic_sensitivity_analysis_functions.R

checks_plot_dsaR Documentation

Function to do some checks before plotting sensitivity analysis results

Description

Function to do some checks before plotting sensitivity analysis results

Usage

checks_plot_dsa(
  result_dsa_control,
  plotfor,
  type,
  result_dsa_treat,
  threshold,
  comparator
)

Arguments

result_dsa_control

result from deterministic sensitivity analysis for first or control model

plotfor

the variable to plotfor e.g. cost, utility NMB etc

type

type of analysis, range or difference

result_dsa_treat

result from deterministic sensitivity analysis for the comparative Markov model

threshold

threshold value of WTP

comparator

the strategy to be compared with

Value

the plot variable


packDAMipd documentation built on May 29, 2024, 3:18 a.m.