jg_block_names: Get block names in JAGS model code

Description Usage Arguments Value See Also Examples

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 Feb. 18, 2021, 11:12 p.m.