使用tmap标记r中小状态的提示

使用tmap标记r中小状态的提示,r,label,state,tmap,R,Label,State,Tmap,我用tmap在r中构建了一个美国地图,该地图具有所有州的数据标签,如下所示 >tm_shape(Trying) + tm_fill(col = "Grantees", breaks=c(3, 12, 20, 35, 50, 200), size=0.1, palette = "OrRd")+tm_borders(lwd = 0.5) + tm_text(text = "ST", size = 0.5, fontfamily =

我用tmap在r中构建了一个美国地图,该地图具有所有州的数据标签,如下所示

>tm_shape(Trying) + 
tm_fill(col = "Grantees", breaks=c(3, 12, 20, 35, 50, 200), size=0.1, palette = "OrRd")+tm_borders(lwd = 0.5) + 
tm_text(text = "ST", size = 0.5, fontfamily = "sans", ymod = .2) + 
tm_shape(Trying) + 
tm_fill("Grantees", breaks=c(3, 12, 20, 35, 50, 200), palette = "OrRd", legend.show=F, alpha = 0) + 
tm_text(text = "Grantees", size = 0.5, fontfamily="sans", ymod = -.2)

有没有一种方法可以让新英格兰州有标注,这样它们的标签就可以被解读,如下所示


非常感谢您提供的所有见解和建议。

不确定是否有用,但遇到了使用
ggrepel
-