powered by
Transforms priors information to actual distributions.
simulate_prior(model, n = 1000, ...)
A stanreg, stanfit, or brmsfit object.
stanreg
stanfit
brmsfit
Size of the simulated prior distributions.
Currently not used.
# NOT RUN { library(bayestestR) library(rstanarm) model <- stan_glm(mpg ~ wt + am, data = mtcars, chains = 1, refresh = 0) simulate_prior(model) # }
Run the code above in your browser using DataLab