[R] spatstat package: Simulating from fitted Matern cluster process model fails

2014-07-06 Thread Philipp Hunziker
Dear R-help list, I'm using the excellent spatstat package to fit an inhomogeneous Matern cluster point process model, but unfortunately I'm unable to simulate new data points from the fitted object. Specifically, I get the following error message: Error in rthin(result, P) : some points of

Re: [R] spatstat package: Simulating from fitted Matern cluster process model fails

2014-07-06 Thread Rolf Turner
There appears to be a small bug in the code. What is happening is that occasionally there are simulated points that lie inside your triangular window but do not lie inside any pixel of the image created from your distorigin() function. This will be fixed in a future release of spatstat.