View source: R/sample_from_raster_coords.R
sample_from_raster_coords | R Documentation |
sample set of pixels defined by row and col from raster data
sample_from_raster_coords(input_rast, xy, input_mask = NULL)
input_rast |
SpatRaster. raster to extract data from |
xy |
data.frame coordinates. |
input_mask |
SpatRaster. mask corresponding to raster to extract data from |
rast_sample dataframe. pixel/plot info extracted from input_rast
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.