prior_mixture | R Documentation |
prior_mixture
creates a mixture of prior distributions.
This is a more generic version of the prior_spike_and_slab
function.
prior_mixture(
prior_list,
is_null = rep(FALSE, length(prior_list)),
components = NULL
)
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 |
prior()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.