Skip to content
Back to formatted view

Raw Message

Message-ID: <CB51BE6D.87747%macqueen1@llnl.gov>
Date: 2012-02-04T00:40:34Z
From: MacQueen, Don
Subject: SPATIAL QUESTION: HOW TO MAKE POLYGONS AROUND CLUSTERS OF POINTS AND EXTRACT AREAS AND COORDINATES OF THESE POLYGONS?
In-Reply-To: <BFE7BE222A64BD48B812D75121878ACF9CC9719E@exdb1.ad.skogoglandskap.no>

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]]
>