Given global coordinates and quadrat and plot dimensions, calculate local x and y, the within-quadrat coordinates.
1 | gxgy.to.lxly(gx, gy, gridsize = 20, plotdim = c(1000, 500))
|
gx, gy |
Tree x and y coordinate. |
gridsize |
Side of the square quadrate. |
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.