Description Usage Arguments Value
View source: R/tileEquivalence.R
In order to perform the population estimations, the area of interest is overlapped with a rectangular grid of tiles. Each tile is a rectangle with predefined dimensions. This function is a utility function which transform the tiles indexes from the numbering system used by the simulation software to the one used by the raster package. The simulation software uses a notation where the tile with index 0 is the bottom left tile while the raster package uses another way to number the tiles, tiles being numbered starting with 1 for the upper left tile.
1 | tileEquivalence(nrows, ncols)
|
nrow |
Number of rows in the grid overlapping the area of interest. |
ncol |
Number of columns in the grid overlapping the area of interest. |
Returns a data.frame object with two columns: on the first column are the tile indexes according to the raster package numbering and on the second column are the equivalent tile indexes according to the simulation software numbering.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.