Description Usage Arguments Value Examples
Converts blocks in JAGS model code into a named character vector where the names are the block names.
1 | jg_blocks(x)
|
x |
string of JAGS model code |
A named character vector where the names are the block names. Throws an error if the brackets are unbalanced.
1 | jg_blocks("data {X <- 2} model { Y ~ dpois(X) }")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.