map_data查看,仅能提供county,france,italy,nz,state,usa,world,world2等几款地图
fig1 = ggplot(geotable, aes(Longitude...函数详解
map_data()
map_data()[2]是ggplot2的一个函数,用于将map包中的数据转换为适合ggplot2绘图的框架。...「主要用法」
map_data(map, region = ".", exact = FALSE, ...)...「示例」
library(ggplot2)
states map_data("state") # 引入美国地图
arrests <- USArrests
names(arrests) <- tolower...https://ggplot2.tidyverse.org/reference/geom_polygon.html
[5]
geom_polygon() rule参数示例: https://rdrr.io/r/