rcell(win=square(1), nx=NULL, ny=nx, ..., dx=NULL, dy=dx,
N=10, nsim=1, drop=TRUE)
dx
.dy
.nx
.ny
.rcellnumber
.nsim=1
and drop=TRUE
(the default), the
result will be a point pattern, rather than a list
containing a point pattern."ppp"
)
if nsim=1
, or a list of point patterns if nsim > 1
. 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