connected.tess | R Documentation |
Given a tessellation, find the topologically-connected pieces of each tile, and make a new tessellation using these pieces.
## S3 method for class 'tess'
connected(X, ...)
X |
A tessellation (object of class |
... |
Arguments passed to |
The function connected
is generic.
This function connected.tess
is the method for tessellations.
Given the tessellation X
, the algorithm considers each tile
of the tessellation, and identifies its connected components
(topologically-connected pieces) using connected.owin
.
Each of these pieces is treated as a distinct tile
and a new tessellation is made from these pieces.
The result is another tessellation obtained by subdividing each tile
of X
into one or more new tiles.
Another tessellation (object of class "tess"
).
.
connected.owin
BB <- grow.rectangle(Frame(letterR), 0.2)
H <- tess(tiles=list(IN=letterR, OUT=complement.owin(letterR, BB)))
opa <- par(mfrow=c(1,2))
plot(H, do.col=TRUE)
plot(connected(H), do.col=TRUE, col=2:4)
par(opa)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.