subsetNonNARas: Get all the values of a raster and remove the NA's, keeping...

Description Usage Arguments Value Author(s)

View source: R/subsetNonNARas.R

Description

Get all the values of a raster and remove the NA's, keeping pixel ID.

Usage

1
subsetNonNARas(ras, N = NULL)

Arguments

ras

RasterLayer.

N

numeric. If passed, subsets N pixels from the raster. If NULL, returns the whole non-NA raster values. Default is NULL.

Value

data.table of pixel values and pixel ID

Author(s)

Tati Micheletti


tati-micheletti/usefun documentation built on June 29, 2020, 9:31 a.m.