View source: R/model_selection.R
draw_from_prior | R Documentation |
This function returns a sample from each parameter's prior distribution.
draw_from_prior(prior, C = 1)
prior |
An object of class |
C |
The number of latent classes. |
A list of draws for alpha
, s
, b
, Omega
, and
Sigma
(if specified for the model).
prior <- check_prior(P_f = 1, P_r = 2, J = 3)
RprobitB:::draw_from_prior(prior, C = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.