plot_tornado: Tornado Plot for Deterministic Sensitivity Analysis

View source: R/plot_tornado.R

plot_tornadoR Documentation

Tornado Plot for Deterministic Sensitivity Analysis

Description

Creates a tornado plot from a data frame generated by dsa_icer().

Usage

plot_tornado(df, metric = "ICER")

Arguments

df

A data frame from dsa_icer().

metric

Character string. Either "ICER" or "NMB". Must match the column name in df.

Value

A ggplot2 tornado-style line plot.

Examples

# Simulated deterministic sensitivity analysis result
dsa_result <- data.frame(
  Parameter = c("Cost A", "Cost B", "Effect A"),
  ICER = c(1000, 1200, 800),
  NMB = c(20000, 19500, 21000)
)


ielbadisy/CEACT documentation built on June 11, 2025, 9:19 p.m.