[R-sig-Geo] random points with a minimum distance

Rolf Turner r.turner at auckland.ac.nz
Sat Jul 21 02:12:29 CEST 2012


On 21/07/12 11:40, Frederico Mestre wrote:
> Hello all:
>
>   
>
> How can I generate quasi-random points with the condition that a minimum
> pre-defined distance is always kept amongst them?
>

With the function rSSI() from the spatstat package.

(You could also use the rmh() function --- with the "hardcore"
cif --- for a somewhat different model of the randomness,
but the call is a bit more complicated.)

     cheers,

         Rolf Turner



More information about the R-sig-Geo mailing list