Get the Stan code used to run a model as a character string
# S4 method for class 'ubmsFit'
get_stancode(object, ...)
A ubmsFit
object
Arguments passed to rstan::get_stancode
A character string with the model code
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.