ggplot2 warning: Stacking not well defined when ymin != 0

后端 未结 1 1413
北荒
北荒 2020-12-28 13:52

Perhaps the answer is to just be warned. I am attmepting to use a scaled and centered variable to look at how observations differ from the mean value. This plot is a commo

相关标签:
1条回答
  • 2020-12-28 14:17

    1) Either by adding position = "identity" to geom_bar or, of course, by using

    suppressWarnings(print(ggplot(...)))
    

    2-3) Considering the technical side - yes, you can ignore it. The reason for this warning is related to interpreting that bars have negative height instead of just negative values.

    0 讨论(0)
提交回复
热议问题