这第一个图像是我最初使用ggplot所做的。Map of site data, colored by N concentration 但我想要做的是使用cave系统的shapefile,数据来自于它,并通过在系统上绘制点,然后根据浓度对它们进行着色来做一些类似的事情下面是我上传的洞穴系统shapefile Cave system shapefile 因此,基本上我希望能够映射来自我的数据集中的化学数据,用于映射第一个图形,但在shapefile的地图上。因此,我认为我必
运行以下代码,我可以成功地将中的一些值映射到查找到 (country =大不列颠)的Great数据:library(ggplot2)libraryestc_clean_analysis\\geoanalysis\\GBR_adm"
#the first parameter we pass to readOGR species the location of the shapefilewe want to read in; layer indica
在将RMD编织到PDF时,我得到以下错误:Error in (function (file = if (onefile) "Rplots.pdf'Quitting from lines 47-76 (ABC.Rmd) 2: In png(..., res = dpi, units = "in") : o