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.

192 Exploratory tools for multitype <strong>po<strong>in</strong>t</strong> <strong>patterns</strong><br />

array of G functions for amacr<strong>in</strong>e.<br />

off<br />

on<br />

Gcrossoff, off(r)<br />

0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7<br />

Gcrossoff, on(r)<br />

0.0 0.2 0.4 0.6 0.8<br />

0.00 0.01 0.02 0.03 0.04 0.05 0.06<br />

r (one unit = 662 microns)<br />

0.00 0.01 0.02 0.03 0.04 0.05 0.06<br />

r (one unit = 662 microns)<br />

on<br />

Gcrosson, off(r)<br />

0.0 0.2 0.4 0.6 0.8<br />

Gcrosson, on(r)<br />

0.0 0.2 0.4 0.6<br />

off<br />

0.00 0.01 0.02 0.03 0.04 0.05 0.06<br />

r (one unit = 662 microns)<br />

0.00 0.01 0.02 0.03 0.04 0.05 0.06<br />

r (one unit = 662 microns)<br />

For example the top right panel shows the cumulative distribution function of the distance<br />

from an “off” cell to the nearest “on” cell.<br />

The result of alltypes is a ‘function array’ (object of class "fasp") which can be <strong>in</strong>dexed<br />

by row and column subscripts. If the <strong>po<strong>in</strong>t</strong> pattern has a large number of possible types, you<br />

can compute the array of all possible pairwise G functions, then use the subscript operator to<br />

<strong>in</strong>spect a subset of the array.<br />

> data(lans<strong>in</strong>g)<br />

> a plot(a[2:3, 2:3])<br />

Copyright<strong>CSIRO</strong> 2010

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

Saved successfully!

Ooh no, something went wrong!