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.

128 Distance methods for <strong>po<strong>in</strong>t</strong> <strong>patterns</strong><br />

19.5 J function<br />

A useful comb<strong>in</strong>ation of F and G is the J function [64]<br />

J(r) = 1 − G(r)<br />

1 − F(r)<br />

(24)<br />

def<strong>in</strong>ed for all r ≥ 0 such that F(r) < 1. For a homogeneous Poisson process, F pois = G pois , so<br />

that<br />

J pois (r) ≡ 1. (25)<br />

Values J(r) > 1 suggest regularity, and J(r) < 1 suggest cluster<strong>in</strong>g.<br />

An appeal<strong>in</strong>g property of the J function is that the superposition X • = X 1 ∪ X 2 of two<br />

<strong>in</strong>dependent <strong>po<strong>in</strong>t</strong> processes X 1 ,X 2 has J-function<br />

J(t) = λ 1<br />

λ 1 + λ 2<br />

J 1 (t) + λ 2<br />

λ 1 + λ 2<br />

J 2 (t)<br />

where J 1 ,J 2 are the J-functions of X 1 ,X 2 respectively and λ 1 ,λ 2 are their <strong>in</strong>tensities.<br />

The J function is computed by Jest.<br />

The convenient function allstats efficiently computes the F, G, J and K functions for a<br />

dataset. They can be plotted automatically.<br />

> plot(allstats(cells))<br />

allstats(cells)<br />

F function<br />

G function<br />

F(r)<br />

0.0 0.2 0.4 0.6 0.8<br />

km<br />

rs<br />

cs<br />

theo<br />

G(r)<br />

0.0 0.2 0.4 0.6 0.8<br />

km<br />

rs<br />

han<br />

theo<br />

0.00 0.02 0.04 0.06 0.08<br />

0.00 0.05 0.10 0.15<br />

r<br />

r<br />

J function<br />

K function<br />

J(r)<br />

2 4 6 8<br />

km<br />

han<br />

rs<br />

theo<br />

K(r)<br />

0.00 0.05 0.10 0.15 0.20<br />

iso<br />

trans<br />

border<br />

theo<br />

0.00 0.02 0.04 0.06 0.08<br />

0.00 0.05 0.10 0.15 0.20 0.25<br />

r<br />

r<br />

19.6 Manipulat<strong>in</strong>g and plott<strong>in</strong>g summary functions<br />

As expla<strong>in</strong>ed above, the summary function commands Fest, Gest, Kest, Lest, pcf etc. return<br />

a function value table (an object of class "fv"). This is a data frame (i.e. it also belongs to<br />

the class "data.frame") with some extra <strong>in</strong>formation. One column of the data frame conta<strong>in</strong>s<br />

Copyright<strong>CSIRO</strong> 2010

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

Saved successfully!

Ooh no, something went wrong!