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.

11.3 Operations <strong>in</strong>volv<strong>in</strong>g a tessellation 73<br />

dirichlet(X)<br />

The command delaunay(X) computes the Delaunay triangulation of the <strong>po<strong>in</strong>t</strong> pattern X.<br />

Strictly speak<strong>in</strong>g this is not a tessellation but a network or graph, formed by jo<strong>in</strong><strong>in</strong>g some of the<br />

<strong>po<strong>in</strong>t</strong>s of X by straight l<strong>in</strong>es. Two <strong>po<strong>in</strong>t</strong>s of X are jo<strong>in</strong>ed if their Dirichlet tiles share a common<br />

edge. The result<strong>in</strong>g network forms a set of non-overlapp<strong>in</strong>g triangles. These triangles cover the<br />

convex hull of X rather than the entire w<strong>in</strong>dow of X.<br />

> plot(delaunay(X))<br />

delaunay(X)<br />

11.3 Operations <strong>in</strong>volv<strong>in</strong>g a tessellation<br />

There are methods for pr<strong>in</strong>t, plot and [ for tessellations.<br />

Use the command tiles to extract a list of the tiles <strong>in</strong> a tessellation. The result is a list<br />

of w<strong>in</strong>dows ("ow<strong>in</strong>" objects). This can be handy if, for example, you want to compute some<br />

characteristic of the tiles <strong>in</strong> a tessellation, such as their areas or diameters:<br />

> X V U unlist(lapply(U, area.ow<strong>in</strong>))<br />

Copyright<strong>CSIRO</strong> 2010

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

Saved successfully!

Ooh no, something went wrong!