Description Usage Arguments Value Examples
Divide a region into quadrats
1 | zb_quadrat(x, ncol, nrow = NULL, intersection = TRUE)
|
x |
x |
ncol |
ncol |
nrow |
nrow |
intersection |
intersection |
An sf object
1 2 3 4 5 6 7 | x = london_a()
c = sf::st_centroid(london_a())
plot(zb_quadrat(x, ncol = 2), col = 2:5)
plot(c, add = TRUE, col = "white")
plot(zb_quadrat(x, ncol = 3))
plot(zb_quadrat(x, ncol = 4))
plot(zb_quadrat(x, ncol = 4, intersection = FALSE))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.