gertvv / gemtc

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

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

Closed dalewsteele closed 8 years ago

dalewsteele commented 8 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 8 years ago

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