Description Usage Arguments Value
View source: R/buildCentroids.R
Builds the centroid of each (rectangular) tile in the grid. The centroid is the center of the tile, i.e. the intersection point of the diagonals of the tile.
1 | buildCentroids(ntiles_x, ntiles_y, tile_sizeX, tile_sizeY)
|
ntiles_x |
The number of tiles on OX. |
ntiles_y |
The number of tiles on OY. |
A data.table object with three columns: tile ID, centroidCoord_x
.
centroidCoord_y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.