jg_dists: Get distributions in JAGS model code

Description Usage Arguments Value

Description

Gets distributions in JAGS model code. A distribution is any JAGS word between ~ and (. Where a JAGS word must start with a letter and can only contain letters, numbers, '.' and '_'.

Usage

1

Arguments

x

string of JAGS model code

Value

Sorted character vector of distributions that occur one or more times.


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