Last chance! 50% off unlimited learning
Sale ends in
tile.areas(x)
"tess"
).tess
. This command computes the area of each of the tiles
that make up the tessellation x
.
The result is a numeric vector
in the same order as the tiles would be listed by tiles(x)
.
tess
,
tiles
A <- tess(xgrid=0:2,ygrid=0:2)
tile.areas(A)
v <- as.im(function(x,y){factor(round(x^2 + y^2))}, W=owin())
E <- tess(image=v)
tile.areas(E)
Run the code above in your browser using DataLab