jg_block_names: Get block names in JAGS model code

Description Usage Arguments Value See Also Examples

View source: R/blocks.R

Description

Get block names in JAGS model code

Usage

1

Arguments

x

string of JAGS model code

Value

A character vector of block names in order occur in code.

See Also

juggler and jg_blocks

Examples

1
jg_block_names("data {X <- 2} model { Y ~ dpois(X) }")

poissonconsulting/juggler documentation built on Sept. 7, 2017, 1:55 p.m.