gertvv / gemtc

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

Throw error when covariate is degenerate #43

Closed gertvv closed 4 years ago

gertvv commented 8 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.