Manually specify cut points or bins for plotting with ggplot

前端 未结 0 1924
慢半拍i
慢半拍i 2020-12-15 23:52

In base R, I can create custom bins using cut. For example, I can create three bins for plotting:

data.frame(x = c(5, 1, 3, 2, 2, 3)) %>% muta         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题