compareIntervals {SHELF} | R Documentation |
Plot fitted intervals for each expert
Description
Following elicitation of distributions from individual experts, plot fitted probability intervals for each expert.
Usage
compareIntervals(
fit,
interval = 0.95,
dist = "best",
fs = 12,
xlab = "x",
ylab = "expert",
showDist = TRUE
)
Arguments
fit |
An object of class |
interval |
The probability p for each interval (i.e. the fitted probability for each expert that the displayed interval contains the uncertain quantity will be p) |
dist |
The distribution fitted to each expert's probabilities. Options are
|
fs |
font size used in the plot. |
xlab |
A string or expression giving the x-axis label. |
ylab |
A string or expression giving the y-axis label. |
showDist |
TRUE/FALSE for reporting distributions used for each expert |
Examples
## Not run:
v <- matrix(c(30, 40, 50, 20, 25, 35, 40, 50, 60, 35, 40, 50), 3, 4)
p <- c(0.25, 0.5, 0.75)
myfit <- fitdist(vals = v, probs = p, lower = 0, upper = 100)
compareIntervals(myfit, interval = 0.5)
## End(Not run)