How to make dodge in geom_bar agree with dodge in geom_errorbar, geom_point

前端 未结 4 913
隐瞒了意图╮
隐瞒了意图╮ 2020-11-30 12:10

I have a dataset where measurements are made for different groups at different days.

I want to have side by side bars representing the measurements at the different

4条回答
  •  醉话见心
    2020-11-30 13:06

    sometimes you put aes(x=tasks,y=val,fill=group) in geom_bar rather than ggplot. This causes the problem since ggplot looking forward x and you specify it by the location of each group.

提交回复
热议问题