View source: R/sample_raster.R
sample_raster | R Documentation |
sample pixels from raster data
sample_raster(input_rast, pix2extract, xy = F, prog = F)
input_rast |
SpatRaster or list of SpatRaster |
pix2extract |
dataframe. lat and lon for pixels to extract |
xy |
boolean. set TRUE to get coordinates for each pixel sampled |
prog |
boolean. set TRUE to display progression bar |
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.