plot.samplesize: Calculating the EVSI for a specific WTP giving the...

View source: R/plot.samplesize.R

plot.samplesizeR Documentation

Calculating the EVSI for a specific WTP giving the uncertainty bands across the different samples sizes

Description

Calculating the EVSI for a specific WTP giving the uncertainty bands across the different samples sizes

Usage

## S3 method for class 'samplesize'
plot(evsi, wtp = NULL, pos = c("bottomright"),
  CI = NULL)

Arguments

evsi

Output of the comp.evsi.N function

wtp

The willingness to pay value that the graphic should be produced for - it will be chosen if wtp=NULL.

pos

The position where the legend will be printed (default='bottomright')

CI

The indexes that we would like to take from the CI in the evsi object.

Value

EVSI The EVSI calculated for a specific wtp with uncertainty estimates.

A graphical representation of the uncertainty.


annaheath/EVSI documentation built on June 25, 2022, 6:26 a.m.