Hello,
I have fitted a Poisson Process model in spatstat using

>fit1<-ppm(points, ~elevation, covariates=list(elevation=elevation.im))

This far, everything went well, but I try to simulate the fitted model using
the function:

>sim1<-rmh(fit1)

But I get the error message:
"Extracting model information...Evaluating trend...done.
Checking arguments..determining simulation windows...Error in rmh.default(X,
start = start, control = control, ..., verbose = verbose) :
  Expanded simulation window does not contain model window"

Is there anything I am doing wrong? I am working on R version 2.12.0 and
spatstat version 1.20-5 .

I greatly appreciate any help.

*Neba.

Universitat Jaume I,
Castellon de la plana,
Spain.*

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to