Extract the stanmodel object of the fitted object.

extract_stanmodel(fit)

Arguments

fit

An object returned by either draw_samples or optimizing.

Value

An integer with the stanmodel used to fit the model.