View source: R/sample_priors.R
sample_priors | R Documentation |
Creates list or generates a plot of prior samples
sample_priors(priors, n_samples = 10000, plot = "ggplot")
priors |
An object of class |
n_samples |
The number of prior samples to return. |
plot |
NA returns a |
A list
containing the initialisation values.
bnec
library(bayesnec)
data(manec_example)
exmp <- pull_brmsfit(manec_example, model = "nec4param")
sample_priors(exmp$prior)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.