29.01.2015 Views

Analysing spatial point patterns in R - CSIRO

Analysing spatial point patterns in R - CSIRO

Analysing spatial point patterns in R - CSIRO

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

138 Simulation envelopes and goodness-of-fit tests<br />

envelope with fixed n<br />

L(r)<br />

0.00 0.05 0.10 0.15 0.20 0.25<br />

obs<br />

mmean<br />

hi<br />

lo<br />

0.00 0.05 0.10 0.15 0.20 0.25<br />

r<br />

20.1.7 Envelopes based on a set of <strong>po<strong>in</strong>t</strong> <strong>patterns</strong><br />

Envelopes can also be computed from a user-supplied list of <strong>po<strong>in</strong>t</strong> <strong>patterns</strong>, <strong>in</strong>stead of the<br />

simulated <strong>po<strong>in</strong>t</strong> <strong>patterns</strong> generated by a chosen simulation procedure. The argument simulate<br />

can be a list of <strong>po<strong>in</strong>t</strong> <strong>patterns</strong>:<br />

> data(cells)<br />

> Xlist for (i <strong>in</strong> 1:99) Xlist[[i]] envelope(cells, Kest, nsim = 99, simulate = Xlist)<br />

The argument simulate can also be an envelope object. This improves efficiency and<br />

consistency if, for example, we are go<strong>in</strong>g to calculate the envelopes of several different summary<br />

statistics.<br />

> data(cells)<br />

> EK Ep envelope(cells, Kest, nsim = 100, VARIANCE = TRUE)<br />

Copyright<strong>CSIRO</strong> 2010

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!