jg_block_names: Get block names in JAGS model code

Description Usage Arguments Value 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.

Examples

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

poissonconsulting/jaggernaut documentation built on Feb. 18, 2021, 11:10 p.m.