rcell(win=square(1), nx=NULL, ny=nx, ..., dx=NULL, dy=dx, N=10)
dx
.dy
.nx
.ny
.rcellnumber
."ppp"
). The tile width is determined
either by the number of columns nx
or by the
horizontal spacing dx
.
The tile height is determined
either by the number of rows ny
or by the
vertical spacing dy
.
The cell process is then generated in these tiles.
The random numbers of points are generated by rcellnumber
.
Some of the resulting random points may lie outside the window win
:
if they do, they are deleted.
The result is a point pattern inside the window win
.
rcellnumber
,
rstrat
,
rsyst
,
runifpoint
,
Kest
X <- rcell(nx=15)
plot(X)
plot(Kest(X))
Run the code above in your browser using DataLab