我是R的空间数据分析的新手,想要做一些简单的事情,我仍然有困难...我有一张大桌子latitudes和longitudes
sample = structure(list(Longitude = c(-0.19117, -0.211708, -0.206458,
-0.173862, -0.156618), Latitude = c(51.489096, 51.520075, 51.525301,
51.482442, 51.495752), Location_Easting_OSGR = c(525680L, 524170L,
524520L, 526900L, 528060L), Location_Northing_OSGR = c(178240L,
181650L, 182240L, 177530L, 179040L)), .Names = c("Longitude",
"Latitude", "Location_Easting_OSGR", "Location_Northing_OSGR"
), row.names = c(NA, -5L), class = c("data.table", "data.frame"
))
Run Code Online (Sandbox Code Playgroud)
我从GADM(英国地图2级)获得了英国地图.

我希望能够
这简单吗 ?如果没有,你有一些指示(请只有英国)干杯