library(devtools)library(REmap)options(remap.js.web=T)#读取数据(通过import dataset(excel)导入)head(mydata_heatmap)df = as.data.frame(mydata_heatmap)map_out<-remapH(data=df, #效果如下图 maptype = '四川', theme = get_theme(theme = "", lineColor = "", backgroundColor = "white", #整体背景颜色 titleColor = "black", #标题颜色 borderColor = "grey", #区域边缘颜色 #regionColor ='white',#区域颜色 labelShow = F, #区域名称是否显示 pointShow = T, pointColor = '', regionColor="White"), blurSize = 70,#设置点的模糊程度,越大越模糊 color = c('blue', 'cyan', 'lime', 'yellow', 'red'), minAlpha = 1,#如果统一值小于minAlpha,则rempaH将设置为minAlpha,以确保小数据值也可以在图表上可见 opacity = 1,#地图的不透明度,默认为1 title='Sichuan' )plot(map_out)


雷达卡


京公网安备 11010802022788号







