Learn R Programming

SHELF (version 1.12.0)

elicit: Elicit judgements and fit distributions interactively

Description

Opens up a web browser (using the shiny package), from which you can specify judgements, fit distributions and plot the fitted density functions with additional feedback. Probabilities can be specified directly, or the roulette elicitation method can be used.

Usage

elicit(lower = 0, upper = 100, gridheight = 10, nbins = 10, method = "general")

Value

An object of class elicitation, which is returned once the Quit button has been clicked. See fitdist for details.

Arguments

lower

A lower limit for the uncertain quantity X. Will be ignored when fitting distributions that are not bounded below. Also sets the lower limit for the grid in the roulette method.

upper

An upper limit for the uncertain quantity X. Will be ignored when fitting distributions that are not bounded above. Also sets the upper limit for the grid in the roulette method.

gridheight

The number of grid cells for each bin in the roulette method.

nbins

The number of bins used in the rouletted method.

method

Set to "roulette" for the app to display the roulette method by default. Any other string will display the general method by default.

Author

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

Details

All input arguments are optional, and can be set/changed within the app itself. Click on the "Help" tab for instructions. Click the "Quit" button to exit the app and return the results from the fitdist command. Click "Download report" to generate a report of all the fitted distributions.

Examples

Run this code

if (FALSE) {

elicit()

}

Run the code above in your browser using DataLab