plot_evpi: Plot of Expected Value of Perfect Information (EVPI)

View source: R/visualization.R

plot_evpiR Documentation

Plot of Expected Value of Perfect Information (EVPI)

Description

Plots the evpi object created by calc_evpi.

Usage

plot_evpi(
  x,
  txtsize = 12,
  currency = "$",
  effect_units = "QALY",
  n_y_ticks = 8,
  n_x_ticks = 20,
  xbreaks = NULL,
  ybreaks = NULL,
  xlim = c(0, NA),
  ylim = NULL,
  ...
)

Arguments

x

object of class evpi, produced by function calc_evpi

txtsize

base text size

currency

string with currency used in the cost-effectiveness analysis (CEA). Default: $, but it could be any currency symbol or word (e.g., £, €, peso)

effect_units

units of effectiveness. Default: QALY

n_x_ticks, n_y_ticks

number of axis ticks

xbreaks, ybreaks

vector of axis breaks. will override n_x_ticks and/or n_y_ticks if provided.

xlim, ylim

vector of axis limits, or NULL, which sets limits automatically

...

further arguments to plot. This is not used by dampack but required for generic consistency.

Value

A ggplot2 plot with the EVPI

See Also

calc_evpi


DARTH-git/darthtools documentation built on April 3, 2025, 2:12 p.m.