[R] SPATIAL QUESTION: HOW TO MAKE POLYGONS AROUND CLUSTERS OF POINTS AND EXTRACT AREAS AND COORDINATES OF THESE POLYGONS?

MacQueen, Don macqueen1 at llnl.gov
Sat Feb 4 01:40:34 CET 2012


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" <okb at 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]]
>



More information about the R-help mailing list