brmsfit
objectsExtract Stan code from a fitted brms model.
# S3 method for brmsfit
stancode(
object,
version = TRUE,
regenerate = NULL,
threads = NULL,
backend = NULL,
...
)
Stan code for further processing.
An object of class brmsfit
.
Logical; indicates if the first line containing the brms
version number should be included. Defaults to TRUE
.
Logical; indicates if the Stan code should be regenerated
with the current brms version. By default, regenerate
will be
FALSE
unless required to be TRUE
by other arguments.
Controls whether the Stan code should be threaded. See
threading
for details.
Controls the Stan backend. See brm
for details.
Further arguments passed to
stancode
if the Stan code is
regenerated.