Closed fersalme closed 3 years ago
I think you're right it's due to a change to treatment.pairs - R is becoming more strict about comparing and converting factors to numerics, and that behavior is what I used to use to bridge between gemtc's internal representation of treatments and igraph's numerical IDs. So this function had to return numerics for that, but I hadn't realized that in this particular place the factor levels were being compared to strings instead. Fixed on master, thanks for reporting!
Hi, first of all, thank you this amazing package!
The
plotCovariateEffect
command for meta-regression topic doesn't work only plot the frame and the axes but not the effects values (mean, CI)Here a examples from
certolizumab
vignetteThe problem maybe come from
treatment.pairs
function. I make a quick and dirtyplotCovariateEffect_2
function based onplotCovariateEffect
I hope this maybe help for fix the problem.
Cheers!
R version 4.0.5 (2021-03-31) Rstudio Version 1.4.1106 gemtc Version: 0.8-8 Built: R 4.0.5; x86_64-pc-linux-gnu; 2021-04-20 13:35:16 UTC; unix