Description Usage Arguments Value
Write Stan code chunks to disk
1 | write_chunks(spec, noLogLike, writeDir)
|
spec |
An object returned by either |
noLogLike |
A logical stating whether the log-likelihood should be excluded from the program. If TRUE, the Stan code will draw samples from the prior predictive density. If FALSE, the Stan code will draw samples from the posterior predictive density. |
writeDir |
A character string with the path where the Stan file should be written. Useful to inspect and modify the Stan code manually. |
Nothing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.