Function to do some checks before plotting sensitivity analysis results
checks_plot_dsa(
result_dsa_control,
plotfor,
type,
result_dsa_treat,
threshold,
comparator
)
result from deterministic sensitivity analysis for first or control model
the variable to plotfor e.g. cost, utility NMB etc
type of analysis, range or difference
result from deterministic sensitivity analysis for the comparative Markov model
threshold value of WTP
the strategy to be compared with
the plot variable