fit {imt} | R Documentation |
Fits Stan model.
fit(stan_data, model = "blm", ...)
stan_data |
A named list providing the data for the Stan model. |
model |
A character string specifying the model type. Must be either "blm" (Bayesian linear model) or "bnb" (Bayesian negative binomial model). Defaults to "blm". |
... |
Additional options to be passed through to |
The complete StanFit object from the fitted Stan model.