Skip to content
Prev 16086 / 29559 Next

Question about spatstat: bdist.tiles()

This does indeed appear to be a bug.  I succeeded (very easily) in 
reproducing
the bug with a simulated example as follows:

W <- disc(1,c(0,0))
set.seed(42)
X <- runifpoint(30,win=W)
spatstat.options(gcplib=TRUE)
TX <- dirichlet(X)
DTX <- bdist.tiles(TX)
plot(TX)
points(X$x[11],X$y[11],pch=20,col="red")
print(DTX[11]) # Get 0.2121148, not 0.

I will attempt to track down the source of the bug and then get back
to you.  May take me a while ....

     cheers,

         Rolf Turner
On 20/09/12 04:20, Mudrak, Erika [EEOBS] wrote: