Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

stancode.brmsfit

Extract Stan model code


Description

Extract Stan code that was used to specify the model.

Usage

## S3 method for class 'brmsfit'
stancode(object, version = TRUE, ...)

stancode(object, ...)

Arguments

object

An object of class brmsfit.

version

Logical; indicates if the first line containing the brms version number should be included. Defaults to TRUE.

...

Currently ignored.

Value

Stan model code for further processing.


brms

Bayesian Regression Models using 'Stan'

v2.15.0
GPL-2
Authors
Paul-Christian Bürkner [aut, cre], Jonah Gabry [ctb], Sebastian Weber [ctb], Andrew Johnson [ctb], Martin Modrak [ctb]
Initial release
2021-03-10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.