gertvv / gemtc

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

How to label nodes in plot.mtc.netw with treatment description, rather than id #44

Closed dalewsteele closed 7 years ago

dalewsteele commented 7 years ago

Hi - In your first example for gemtc{plot.mtc.netw}, the resulting plot is labeled with the 'id' variable, rather than the 'description' variable.

Would be nice to be able a descriptive node label that contains spaces, i.e. "Treatment A"

Have I missed a way to do this? Thanks!

dalewsteele commented 7 years ago

Nevermind - just found the 'use.description = TRUE' option.