It seems that there are methods for using a set number of points when simulating some ppm objects (for example, through manipulating the rmhcontrol options), but I don't see a similar option for LGCP.
After looking through the documentation and source code, it looks like the number of points for an rLGCP is controlled by an integration of lambda and the area of the window being simulated (per documentation from rpoispp
and the call to mu=integrate(lambda)
). This is then used as the "mu" parameter in a call to rpois
, which determines the number of points used in the simulation (nn=rpois(mu,nsims)
). So it seems that the only way currently available to control the number of points directly would be to edit the various function calls and subsequent "nn" variable to take on a user defined constant value as opposed to being a random draw based on lambda. Is that correct?
Alternatively, I was considering a work around using random thinning, such that I'd simulate first, then thin down to the desired number of points.