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.

19.2 Empty space distances 121<br />

Fest(cells)<br />

F(r)<br />

0.0 0.2 0.4 0.6 0.8<br />

km<br />

cs<br />

theo<br />

0.00 0.02 0.04 0.06 0.08<br />

r<br />

Notice the use of cb<strong>in</strong>d to specify several different graphs on the same plot.<br />

To plot the estimates of F(r) aga<strong>in</strong>st the Poisson value, <strong>in</strong> the style of a P–P plot:<br />

> plot(Fest(cells), cb<strong>in</strong>d(km, rs, theo) ~ theo)<br />

Fest(cells)<br />

F(r)<br />

0.0 0.2 0.4 0.6 0.8 1.0<br />

km<br />

rs<br />

theo<br />

0.0 0.2 0.4 0.6 0.8 1.0<br />

F pois(r)<br />

(<strong>in</strong>clud<strong>in</strong>g theo on the left side here gives us the diagonal l<strong>in</strong>e).<br />

The symbol . stands for ‘all recommended estimates of the function’. So an abbreviation<br />

for the last command is<br />

> plot(Fest(cells), . ~ theo)<br />

Transformations can be applied to these function values. For example, to subtract the<br />

theoretical Poisson value from the estimates,<br />

> plot(Fest(cells), . - theo ~ r)<br />

Copyright<strong>CSIRO</strong> 2010

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

Saved successfully!

Ooh no, something went wrong!