| as_stan_fragments | R Documentation |
Conversion of Character Vector into Stan Code Block List
as_stan_fragments(x, stan_blocks = STAN_BLOCKS)
x |
the single Stan code vector. |
stan_blocks |
reference list of stan blocks. |
Function only works if code is in format
data {
<code>
}
model {
<code>
}
That is to say we do not support code in inline format i.e.
data { <code> }
model { <code> }
A list with the Stan code blocks.
Craig Gower-Page (from jmpost R package)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.