Hello r-sig-geo,

I have a question regarding envelopes for the pair correlation function in spatstat.

I used this code below to generate the figures seen here: http://mudrak.public.iastate.edu/pcf_envelope_examples

The envelopes near r = 0 suddenly stretch to high values.   The envelopes also dip slightly at the maximum radius displayed. Can someone tell me why this happens, and what I should do to avoid it?  Should I set xlim to be slightly above zero?

Thanks,

Erika Mudrak

#######
test.ppp=cells
test.ppp=nztrees
test.ppp=redwood

plot(test.ppp)
test.pcf=envelope(test.ppp,pcf,correction="isotropic", nsim=99,rank=5)
plot(test.pcf,  legend=FALSE,main="Pair correlation function, NNNN data",
         ylim=c(-2, 6), lty=c(1,2,1,1), lwd=c(2,2,1,1))
########

Erika Mudrak
Postdoctoral Researcher
Ecology, Evolution, and Organismal Biology
251 Bessey Hall (mail)
224 Bessey Hall (office)
Iowa State University
Ames, IA 50011
mudrak@iastate.edu


	[[alternative HTML version deleted]]

