stat_bindot()` using `bins = 30`. Pick better value with `binwidth`不知道哪里出错了

来源:3-12 探索性数据分析

慕粉3684166

2016-08-12 08:36

Rstudio 3.25 win8

ggplot(data=airquality,aes(Wind,Temp,col=factor(Month)))+geom_dotplot(aes(Wind,Temp))

错误:`stat_bindot()` using `bins = 30`. Pick better value with `binwidth`.


写回答 关注

1回答

  • AureliusKUN
    2016-09-07 20:20:42

    似乎给binwidth设置一个数值就不会报错,比如:

    ggplot(data=airquality,aes(Wind,Temp,col=factor(Month)))+geom_dotplot(binwidth = 0.7)

R语言之数据可视化

R语言三大绘图系统,用图形直观探索数据、发现有价值信息

39194 学习 · 139 问题

查看课程

相似问题