fit {imt} | R Documentation |
Fits Stan model.
Description
Fits Stan model.
Usage
fit(stan_data, model = "blm", ...)
Arguments
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 |
Value
The complete StanFit object from the fitted Stan model.
[Package imt version 1.0.0 Index]