Raw File
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simulate_priors.R
\title{Returns Priors of a Model as Empirical Distributions}
simulate_prior(model, n = 1000, ...)
\item{model}{A \code{stanreg}, \code{stanfit}, or \code{brmsfit} object.}

\item{n}{Size of the simulated prior distributions.}

\item{...}{Currently not used.}
Transforms priors information to actual distributions.
if (require("rstanarm")) {
  model <- stan_glm(mpg ~ wt + am, data = mtcars, chains = 1, refresh = 0)
\code{\link{unupdate}} for directly sampling from the prior
  distribution (useful for complex priors and designs).
back to top