Why does a boxplot in ggplot requires axis x and y?

后端 未结 3 1572
死守一世寂寞
死守一世寂寞 2021-02-02 10:27

I have a variable ceroonce which is number of schools per county (integers) in 2011. When I plot it with boxplot() it only requires the ceroonce variable. A boxplot

3条回答
  •  清酒与你
    2021-02-02 11:11

    This could work for you:

    ggplot(escuelas, aes(x= "", y=ceroncee)) + geom_boxplot()
    

提交回复
热议问题