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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

20.1 Envelopes and Monte Carlo tests 137<br />

envelope for <strong>in</strong>homogeneous Poisson<br />

L(r)<br />

0 20 40 60 80 100 120<br />

obs<br />

mmean<br />

hi<br />

lo<br />

0 20 40 60 80 100 120<br />

r (metres)<br />

20.1.6 Envelopes based on any simulation procedure<br />

Envelopes can also be computed us<strong>in</strong>g any user-specified procedure to generate the simulated<br />

realisations. This allows us to perform randomisation tests, for example.<br />

The simulation procedure should be encoded as an R expression, which will be evaluated<br />

each time a simulation is required. For example if we type<br />

> sim data(cells)<br />

> n W e E plot(E, ma<strong>in</strong> = "envelope with fixed n")<br />

Copyright<strong>CSIRO</strong> 2010

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

Saved successfully!

Ooh no, something went wrong!