R Data Visualization Recipes
上QQ阅读APP看书,第一时间看更新

There is more

Another important argument is called method. By default, 'dotdensity' is set, hence the maximum bin width can be set by adjusting the binwidth argument. Alternatively, one could set the method to 'histodot', thus binwidht would pick bin width itself (not the maximum). Now let's see a recipe that demonstrates how to contour the overlaying colors issue.