fit-method-code | R Documentation |
Return Stan code
code()
A character vector with one element per line of code.
CmdStanMCMC
, CmdStanMLE
, CmdStanVB
, CmdStanGQ
## Not run:
fit <- cmdstanr_example()
fit$code() # character vector
cat(fit$code(), sep = "\n") # pretty print
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.