jg_rm_comments: Remove comments in JAGS model code

Description Usage Arguments Value

Description

Removes comments in JAGS model code. A comment is everything from a # to the end of a line of the end of the string.

Usage

1

Arguments

x

string of JAGS model code

Value

JAGS model code stripped of comments as a string.


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