Description Usage Arguments Value Examples
Sets block names in JAGS model code. Throws an error if unbalanced brackets. Strips out comments.
| 1 | jg_block_names(x) <- value
 | 
| x | string of JAGS model code | 
| value | character vector of block names | 
Modified JAGS model code.
| 1 2 3 |  x <- "data {X <- 2} model { Y ~ dpois(X) }"
jg_block_names(x) <- c("settings", "model")
print(x)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.