stancode.brmsfit {brms} | R Documentation |
Extract Stan code from brmsfit
objects
Description
Extract Stan code from a fitted brms model.
Usage
## S3 method for class 'brmsfit'
stancode(
object,
version = TRUE,
regenerate = NULL,
threads = NULL,
backend = NULL,
...
)
Arguments
object |
An object of class |
version |
Logical; indicates if the first line containing the brms
version number should be included. Defaults to |
regenerate |
Logical; indicates if the Stan code should be regenerated
with the current brms version. By default, |
threads |
Controls whether the Stan code should be threaded. See
|
backend |
Controls the Stan backend. See |
... |
Further arguments passed to
|
Value
Stan code for further processing.
[Package brms version 2.21.0 Index]