Random draw of parameters from expert elicitation
Source:R/draw_elicitation_samples.R
draw_elicitation_samples.Rd
Random draw of parameters from expert elicitation
Usage
draw_elicitation_samples(
elicitation_data = NULL,
nsamples = NULL,
seed = NULL,
return_df = FALSE
)
Arguments
- elicitation_data
defaults to the package data on expert elicitation. It requires a dataframe with columns for parameter name, mu, sd, and distribution family. This function is written around the
elicitation_data
dataset provided in this package.- nsamples
a number of samples to draw. If none set, it defaults to 1.
- seed
if specified, a seed is set. If left NULL no seed is set.
- return_df
if TRUE the object returned is a data frame. If FALSE it will return a list column