plot.ceac: Plot of Cost-Effectiveness Acceptability Curves (CEAC)

View source: R/plot.ceac.R

plot.ceacR Documentation

Plot of Cost-Effectiveness Acceptability Curves (CEAC)

Description

Plots the CEAC as a ggplot2 object calculated with ceac.

Usage

## S3 method for class 'ceac'
plot(ceac, title = "Cost-Effectiveness Acceptability Curves",
  txtsize = 12, currency = "$")

Arguments

ceac

Object of class ceac. A melted data frame produced by function ceac with each strategy's probability of being cost-effective 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

ceac.gg A ggplot2 object with the CEAC

Details

ceac computes the probability of each of the strategies being cost-effective at each wtp value.


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