[R-sig-Geo] Question of ppm warnings of print.ppm

caspar hallmann caspar.hallmann at gmail.com
Fri Sep 24 10:25:59 CEST 2010


Dear list,

I am attempting to fit an inhomogeneous poisson point process to some
point pattern data, using ppm from spatstat (v 1.17-5). I have been
found guilty of having NA values in my covariate-images(a categorical
variable), and have thus been receiving a lot of warnings. Having
fitted my model and in attempt to print a summary (or the ppm model)
my screen is cluttered with

 ..$ na.covariates:List of 3
  .. ..$ covnames.na  : chr "habitat"
  .. ..$ quadpoints.na: logi [1:4219, 1] FALSE FALSE FALSE FALSE FALSE FALSE ...
  .. ..$ print        : chr "Values of the covariate ‘habitat’ were NA
or undefined at 7.8% (327 out of 4219) of the quadrature points"

replicated uncountable times, and not allowing me to see any of the
useful results.

I think I can get around it, but I just wonder if this is the intended
behaviour of print.ppm and print.summary.ppm.

Thanks in advance

Caspar



More information about the R-sig-Geo mailing list