View source: R/make_stancode.R
stancode.brmsfit | R Documentation |
Extract Stan code that was used to specify the model.
## S3 method for class 'brmsfit'
stancode(
object,
version = TRUE,
regenerate = NULL,
threads = NULL,
backend = NULL,
...
)
stancode(object, ...)
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 |
Stan model code for further processing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.