plotTertiles | R Documentation |
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.
plotTertiles(
vals,
lower,
upper,
fs = 12,
percentages = FALSE,
expertnames = NULL,
xl = NULL,
xlabel = "X"
)
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 |
expertnames |
vector of experts' names |
xl |
vector of limits for x-axis |
xlabel |
x-axis label |
Jeremy Oakley <j.oakley@sheffield.ac.uk>
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.