prior_mixture {BayesTools} | R Documentation |
Creates a mixture of prior distributions
Description
prior_mixture
creates a mixture of prior distributions.
This is a more generic version of the prior_spike_and_slab
function.
Usage
prior_mixture(
prior_list,
is_null = rep(FALSE, length(prior_list)),
components = NULL
)
Arguments
prior_list |
a list of prior distributions to be mixed. |
is_null |
a logical vector indicating which of the prior distributions
should be considered as a null distribution. Defaults to |
components |
a character vector indicating which of the prior distributions
belong to the same mixture component (this is an alternative specification to the |
See Also
[Package BayesTools version 0.2.19 Index]