我怎样才能增加这些点之间的大小,因为它们现在重叠并且您看不到某些组?
数据子集:
Species Transect Abundance Habitat
1 Camponotus novogradiensis T1 0 Torre
2 Nylanderia steinheili T1 0 Torre
3 Paratrechina longicornis T1 1 Torre
4 Azteca ACG6526 T1 3 Torre
5 Tapinoma ramulorum T1 0 Torre
6 Dolichoderus curvilobus T1 5 Torre
library(ggpubr)
ggerrorplot(data.2, x = "Species", y = "Abundance",
color = "Habitat",
error.plot = "pointrange",
orientation = "horizontal",
position = position_dodge(width=0))
将
position_dodge()
中的参数更改为大于 0 的某个值,可能为 width = 0.5