[R] Function to find boundary of an irregular sample?

Rolf Turner r.turner at auckland.ac.nz
Mon Dec 3 04:27:26 CET 2007


library(spatstat)
?ripras

Also, ``with user interaction'': ?clickpoly

HTH

	cheers,

		Rolf Turner

(Having said that, let me point out that it is a pretty dubious  
practice to
``let the data choose the window''.  The observation window is  
*always* determined
by separate considerations, and letting the data choose the window  
distorts the
information in the observed pattern.  Remember:  There is information  
in where
the data ***aren't*** as well as in where they are; to know where  
they aren't
you have to know the a priori determined observation window.)

		R. T.

On 3/12/2007, at 3:41 PM, Dale Steele wrote:

> Given a set of coordinates that form an irregular sampling area, is
> there an R function to determine boundary points (coordinates defining
> the limits of the area), either with or without user interaction ?
>
> # for example, given the following irregular sampling area, how could
> I define the boundary polygon?
> library(SemiPar)
> data(scallop)
> plot(scallop$longitude, scallop$latitude)
>
> Thanks.  --Dale
>
> ______________________________________________
> R-help at 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.


######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}



More information about the R-help mailing list