elicit | R Documentation |
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.
elicit(lower = 0, upper = 100, gridheight = 10, nbins = 10, method = "general")
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. |
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.
An object of class elicitation
, which is returned once the
Quit button has been clicked. See fitdist
for details.
Jeremy Oakley <j.oakley@sheffield.ac.uk>
## Not run:
elicit()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.