itchyshin / orchard_plot

Introducing the Orchard Plot for Meta-analysis
15 stars 4 forks source link

name is a character string and ggplot sorts it alphabetically #2

Open itchyshin opened 4 years ago

itchyshin commented 4 years ago

We need to make this characters to a factor

mlagisz commented 4 years ago

I dont think this is resolved - when I run orchard_plot on my meta-regression model with an ordered moderator it keeps the correct order of levels in the created object p (I can see it in p$data), but when this object gets rendered graphically, the levels and associated data still get sorted and displayed alphabetically. This perhaps needs more testing?