Learn R Programming

packDAMipd (version 1.1.0)

checks_plot_dsa: 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
)

Value

the plot variable

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