fit_brms | R Documentation |
Fit a Bayesian regression model with brms and Stan
fit_brms(
formula,
data,
family = gaussian,
prior = brms::prior(normal(0, 1)),
...
)
formula |
An object of class |
data |
A |
family |
A description of the error distribution and link function to be used in the model.
See |
prior |
The prior distribution of the coefficients.
See |
... |
Other parameters for the model fitting function. |
A list with two data frames: gof
contains goodness of fit measures of the fit and
coefs
contains the fitted coefficients.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.