[R-sig-Geo] Generating a regular point pattern
marcelino.delacruz at upm.es
marcelino.delacruz at upm.es
Thu Jul 28 19:50:49 CEST 2011
If, instead of a grid, you mean a real point pattern (from a point
pattern process) you may try several functions in spatstat.
For example,
library(spatstat)
rSSI(r=0.5, n=15, win = owin(c(0,10),c(0,10)))
generates following a realisation (15 points) of the Simple Sequential
Inhibition (SSI) process with inhibition radius of 0.5 (m) in a window
of 10 x 10 (m)
Other appropriate functions are rMatern and rStrauss
Cheers,
Marcelino
Con fecha 28/7/2011, "Sarah Goslee" <sarah.goslee at gmail.com> escribió:
>Lacking any actual information on your problem, what about:
>expand.grid(x=1:10, y=1:10)
>modified as appropriate?
>
>On Thu, Jul 28, 2011 at 1:36 PM, Vero <verocrespoperez at gmail.com> wrote:
>> Dear all,
>>
>> I need to generate a regular point pattern on a square-shaped grid. Can
>> anyone tell me of an easy way to do this?
>>
>> Thank you,
>> Vero
>
>
>--
>Sarah Goslee
>http://www.functionaldiversity.org
>
>_______________________________________________
>R-sig-Geo mailing list
>R-sig-Geo at r-project.org
>https://stat.ethz.ch/mailman/listinfo/r-sig-geo
More information about the R-sig-Geo
mailing list