Description Usage Arguments Value
Check the validity of the parameters being used in the simulation.
1 | validate_inputs(data_dists, priors, obs_per_round)
|
data_dists |
A named list of distribution objects. This list specifies the
distributions that are used to generate data in simulations.
Currently, the list must only have elements named |
priors |
A named list of distribution objects. This list specifies the
distributions that are used as priors when estimating some parameter
from the data generating distribution. Currently, the list must only
have elements named |
obs_per_round |
A positive number that represents how many observations, across both variants,
are generated before we update the prior distributions and
evaluate the expected loss. This number must be divisible by
the number of variants used. Default is |
NULL if all of the tests pass. Else, it will fail loudly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.