plot.evppi {dampack}R Documentation

Plot of Expected Value of Partial Perfect Information (EVPPI)

Description

Plots the evppi object created by calc_evppi.

Usage

## S3 method for class 'evppi'
plot(
  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 evppi, produced by function calc_evppi

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_y_ticks

number of axis ticks

n_x_ticks

number of axis ticks

xbreaks

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

ybreaks

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

xlim

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

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 EVPPI

See Also

calc_evppi


[Package dampack version 1.0.1 Index]