plotTertiles: Plot elicted tertiles, median and plausible range for each...

Description Usage Arguments Author(s) Examples

View source: R/plotTertiles.R

Description

Displays a horizontal bar for each expert, to represent the expert's plausible range. The coloured sections indicate the experts' tertiles: three intervals judged by the expert to be equally likely. The experts' medians are shown as dashed lines.

Usage

1
plotTertiles(vals, lower, upper, fs = 12, percentages = FALSE)

Arguments

vals

a matrix of elicited tertiles and medians: one column per expert, first row is the 33rd percentile, 2nd row is the median, last row is the 66th percentile.

lower

a vector of lower plausible limits: one per expert

upper

a vector of upper plausible limits: one per expert

fs

font size to be used in the plot

percentages

set to TRUE to use percentages on the x-axis

Author(s)

Jeremy Oakley <j.oakley@sheffield.ac.uk>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
l <- c(-5, 0, 5, -10)
u <- c(15, 35, 50, 35)
v <- matrix(c(5, 8, 10,
 10, 15, 20,
 15, 18, 25,
 10, 20, 30),
 3, 4)
plotTertiles(vals = v, lower = l, upper  = u)

## End(Not run)

OakleyJ/SHELF documentation built on Aug. 30, 2020, 9:35 a.m.