eng_cmdstan | R Documentation |
This provides a knitr engine for Stan, suitable for usage when attempting
to render Stan chunks and compile the model code within to an executable with
CmdStan. Use register_knitr_engine()
to make this the default engine for
stan
chunks. See the vignette
R Markdown CmdStan Engine
for an example.
eng_cmdstan(options)
options |
(named list) Chunk options, as provided by |
## Not run:
knitr::knit_engines$set(stan = cmdstanr::eng_cmdstan)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.