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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5.2 Classes <strong>in</strong> spatstat 33<br />

Po<strong>in</strong>t pattern (class ppp)<br />

Rectangular w<strong>in</strong>dow<br />

(class ow<strong>in</strong>)<br />

Polygonal w<strong>in</strong>dow<br />

(class ow<strong>in</strong>)<br />

B<strong>in</strong>ary mask w<strong>in</strong>dow<br />

(class ow<strong>in</strong>)<br />

Pixel image (class im)<br />

120 130 140 150 160<br />

L<strong>in</strong>e segment pattern (class psp)<br />

Tessellation (class tess)<br />

Most of the functionality <strong>in</strong> spatstat works on such objects. To use this functionality, you’ll<br />

need to read your raw data <strong>in</strong>to R and then convert it <strong>in</strong>to an object of the appropriate format.<br />

In particular spatstat has methods for plot, pr<strong>in</strong>t and summary for each of these classes.<br />

For example, the plot method for <strong>po<strong>in</strong>t</strong> <strong>patterns</strong>, plot.ppp, ensures that the x and y scales<br />

are equal, and does various other th<strong>in</strong>gs that are sensible when plott<strong>in</strong>g a <strong>spatial</strong> <strong>po<strong>in</strong>t</strong> pattern<br />

rather than just a list of (x,y) pairs.<br />

Copyright<strong>CSIRO</strong> 2010

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

Saved successfully!

Ooh no, something went wrong!