elicit: Elicit judgements and fit distributions interactively

View source: R/elicit.R

elicitR Documentation

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")

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.

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.

Value

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

Author(s)

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

Examples


## Not run: 

elicit()


## End(Not run)

SHELF documentation built on Sept. 11, 2024, 6:54 p.m.