Takes a vector of indices for a larger quadrat dimension, as created by gxgy.to.index, and for each returns a vector of indices of smaller quadrats that would fit completely within. Both larger and smaller quadrats must be square. Returns a matrix, each row being a vector of smaller quadrats inside a single larger quadrat.
1 | getsmallerquads(index, gridlarge, gridsmall, plotdim)
|
index |
Quadrate number, between 0 and 1249 in the standard plot. |
plotdim |
The x and y dimensions of the plot. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.