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/usefulFuns documentation built on July 7, 2020, 3:19 p.m.