Description Usage Arguments Value Author(s)
View source: R/subsetNonNARas.R
Get all the values of a raster and remove the NA's, keeping pixel ID.
1 | subsetNonNARas(ras, N = NULL)
|
ras |
RasterLayer. |
N |
numeric. If passed, subsets N pixels from the raster. If NULL, returns the whole non-NA raster values. Default is NULL. |
data.table of pixel values and pixel ID
Tati Micheletti
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.