I have fitted a Log-Gaussian Cox Process on my data but when I tried to

use "simulate.kppm" of the Spatstat package I get this error:

Error in rLGCP(model = model, mu = mu, param = param, ..., win = win) :

The spatial domain of the pixel image ‘mu’ does not cover the

simulation window ‘win’

I've used covariates as im, changed the npixel value of the Spatstat

options to match the dimensions of the covariates images, but the

problem keeps showing up.

Maybe it has something to do with the irregular owin used as the window of

the ppp object?

Any suggestions?

Similar questions and discussions