I would suggest asking this question on r-sig-geo. -Don -- Don MacQueen
Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 On 2/3/12 6:59 AM, "Bjørn Økland" <o...@skogoglandskap.no> wrote: >Imagine that I have a large number of points (given by coordinates x and >y) that vary in density per space. For the purpose of demonstration it >could be generated like this: s <- >data.frame(x=runif(10000,0,900),y=runif(10000,0,900)); plot(s) > >I want to create polygons around the points where point density is >greater than a selected threshold (for example, by using krieging or >equivalent method). For these polygons, I want to have the centre >coordinates and the size of the area for further use in analyses. > >I would be very grateful if I could be shown the R packages and functions >I should use to accomplish this, and even some outline of the code. Is it >possible? > >Best regards >Bjørn > > > [[alternative HTML version deleted]] > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.