Learn R Programming

heemod (version 0.9.0)

plot.psa: Plot Results of Probabilistic Analysis

Description

Various plots for Markov models probabilistic analysis.

Usage

# S3 method for psa
plot(x, type = c("ce", "ac", "cov", "evpi"), max_wtp = 1e+05,
  n = 100, log_scale = TRUE, diff = FALSE, threshold, bw = FALSE, ...)

Arguments

x
Result from run_model().
type
Type of plot, see details.
max_wtp
Maximal willingness to pay.
n
Number of CECA points to estimate (values above 100 may take significant time).
log_scale
Show willingness to pay on a log scale?
diff
Logical, perform covariance analysis on strategy differences?
threshold
When diff = TRUE, threshlod value for net monetary benefit computation.
bw
Black & white plot for publications?
...
Additional arguments, depends on type.

Value

A ggplot2 object.

Details

type = "ac" plots cost-effectiveness acceptability curves, type = "ce" plots results on the cost-efficiency plane, type = "cov" to perform covariance analysis on the results, type = "evpi" for expected value of perfect information.