View source: R/extract_matrix.R
extract_matrix
1 | extract_matrix(matrix, coords, raster_extent, raster_res)
|
matrix |
a matrix created from a Raster layer |
coords |
a 2 column matrix/dataframe with the x and y coordinates in same projection as the Raster layer |
raster_extent |
an extent object. contains xmin, xmax, ymin, ymax of the Raster layer the matrix was created from |
raster_res |
a vector with 2 values indicating the x and y resolution of each Raster cell |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.