plot.evpi: Plot of Expected Value of Perfect Information (EVPI)

View source: R/plot.evpi.R

plot.evpiR Documentation

Plot of Expected Value of Perfect Information (EVPI)

Description

Plots the EVPI as a ggplot2 object calculated with evpi.

Usage

## S3 method for class 'evpi'
plot(evpi, title = "Expected Value of Perfect Information",
  txtsize = 12, currency = "$")

Arguments

evpi

Object of class evpi. A data frame produced by function evpi with the EVPI for each willingness-to-pay (WTP) threshold

title

String with graph's title

txtsize

number with 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)

Value

plot.gg A ggplot2 object with the EVPI


feralaes/dampack documentation built on Sept. 8, 2024, 11:31 a.m.