gertvv / gemtc

GeMTC R package: model generation for network meta-analysis
GNU General Public License v3.0
43 stars 25 forks source link

Throw error when covariate is degenerate #43

Closed gertvv closed 4 years ago

gertvv commented 7 years ago

When a degenerate covariate (all the same values) is used, this results in an error in JAGS. Instead catch this early and provide a sensible error message.