Description Usage Arguments Value Examples
Generate random values of an elicitation object
1 2 3 4 5 6 7 8 | rand_elicitation(elc, n = 1, ...)
## S3 method for class 'elc.input'
rand_elicitation(elc, n = 1)
## S3 method for class 'elc.agg'
rand_elicitation(elc, n = 1, method = c("mixture",
"average"), use = NULL)
|
elc |
an elication object elc.input or elc.agg |
n |
number of samples |
... |
optional arguments |
method |
"mixture" or "average" see below |
use |
sampled indices if mixture applied |
a vector of sample values
1 2 3 4 5 6 7 8 9 | expert1 <- input_norm(c(10, 2))
expert2 <- input_gamma(c(0.1, 0.01))
# Single expert
summary(rand_elicitation(expert1, 100))
# Aggregated expert
experts <- aggregate_elicitations(list(expert1, expert2))
summary(rand_elicitation(experts, 100))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.