daniel1noble / orchaRd

Extending the Orchard Plot for Meta-analysis
https://daniel1noble.github.io/orchaRd/
11 stars 6 forks source link

Can't use orchaRd::mod_results function #56

Closed chliuhq closed 7 months ago

chliuhq commented 9 months ago

Describe the bug Can't use orchaRd::mod_results function Error in [.data.frame(as.data.frame.data.frame(x), ...) :

To Reproduce Steps to reproduce the behavior: data(english)

english <- escalc(measure = "SMD", n1i = NStartControl, sd1i = SD_C, m1i = MeanC, n2i = NStartExpt, sd2i = SD_E, m2i = MeanE, var.names = c("SMD", "vSMD"), data = english)

english_MA <- rma.mv(yi = SMD, V = vSMD, random = list(~1 | StudyNo, ~1 | EffectID), data = english) summary(english_MA)

model_results <- orchaRd::mod_results(english_MA, mod = "1", at = NULL, group = "StudyNo") model_results

I got "Error in [.data.frame(as.data.frame.data.frame(x), ...) : "

Screenshots image

Desktop (please complete the following information):

daniel1noble commented 9 months ago

Hi. What version of orchaRd are you using. These tests work fine on my computer and pass all tests.

daniel1noble commented 7 months ago

Not heard anything else about this so assuming it's fixed. Will close for now