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.

92 Tests of Complete Spatial Randomness<br />

The result of kstest is an object of class "htest" (the standard R class for hypothesis<br />

tests) and also of class "kstest" so that it can be pr<strong>in</strong>ted and plotted. The pr<strong>in</strong>t method<br />

(demonstrated above) reports <strong>in</strong>formation about the hypothesis test such as the p-value. The<br />

plot method displays the observed and expected distribution functions.<br />

> KS plot(KS)<br />

> pval data(bei)<br />

> Z b Zcut V quadrat.test(bei, tess = V)<br />

Chi-squared test of CSR us<strong>in</strong>g quadrat counts<br />

data: bei<br />

X-squared = 661.8402, df = 3, p-value < 2.2e-16<br />

Copyright<strong>CSIRO</strong> 2010

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

Saved successfully!

Ooh no, something went wrong!