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