我正在尝试在使用 ggplot2 绘图时应用抖动,如下所示:
timeClusterPlot <-ggplot(timeClusterDf, aes(Location,time)) + labs(x='Location', y='Time')
timeClusterPlot <- timeClusterPlot +
geom_point(aes(colour=cluster),position=position_jitter(w=0.01,h=0.01))
结果如下:
由于我的数据集的大小,点的密度非常高,以至于我认为在应用抖动时,没有足够的稀疏性来获得我正在寻找的结果,除非我严重增加高度和宽度参数。有什么建议么?