Get the Stan code used to run a model as a character string

# S4 method for class 'ubmsFit'
get_stancode(object, ...)

Arguments

object

A ubmsFit object

...

Arguments passed to rstan::get_stancode

Value

A character string with the model code

Details

Pass the result of get_stancode to cat to get the code in a more readable format. Note that the output in most cases is Stan code that can be used to fit several types of models, and not all Stan code will be used in all models.