Extract information from a tile list.
Produces a summary of information about the tiles in an
object of class deldir
as produced by the function
deldir()
.
tileInfo(object, bndry = FALSE, clipp=NULL)
object |
An object of class |
bndry |
Logical scalar. If |
clipp |
An object specifying a polygon to which the
tiles of the tessellation should be clipped. See |
An object of class "tileInfo"
which consists of a
list with components:
indivTiles |
This is itself a list. If The entries of
|
allEdgeCounts |
An integer vector of the number of edges for each of the tiles. |
tabEdgeCounts |
A table of |
allEdgeLengths |
A vector of all of the tile edge lengths;
a catenation of the |
Areas |
A vector of the areas of the tiles. |
uniqueEdgeLengths |
A vector of the lengths of the tiles edges
with the duplicates (which occur in |
perimeters |
A list, as returned by |
There is a print()
method for class "tileInfo"
which
produces a convenient display of the information returned by this
function.
Rolf Turner r.turner@auckland.ac.nz
deldir()
tile.list()
print.tileInfo()
tilePerim()
set.seed(42) x <- runif(20) y <- runif(20) dxy <- deldir(x,y,rw=c(0,1,0,1)) ixy1 <- tileInfo(dxy) ixy2 <- tileInfo(dxy,bndry=TRUE) if(require(polyclip)) { CP <- list(x=c(0.49,0.35,0.15,0.20,0.35,0.42, 0.43,0.62,0.46,0.63,0.82,0.79), y=c(0.78,0.86,0.79,0.54,0.58,0.70, 0.51,0.46,0.31,0.20,0.37,0.54)) ixy3 <- tileInfo(dxy,clipp=CP) # 10 tiles are retained; the third tile, # corresponding to point 6, is # subdivided into two parts. }
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.