rgb2spLayout-deprecated: Convert an RGB RasterBrick/Stack to use with spplot

rgb2spLayout-deprecatedR Documentation

Convert an RGB RasterBrick/Stack to use with spplot

Description

This function takes a red-green-blue 'RasterStack' (or 'RasterBrick') object and produces a list with color information that can be passed on to the sp.layout argument from spplot.

Usage

rgb2spLayout(x, quantiles = c(0.02,0.98), alpha = 1)

Arguments

x

a RasterBrick or RasterStack

quantiles

Upper and lower quantiles used for color stretching.

alpha

Level of transparency.

Author(s)

Tim Appelhans, Florian Detsch

See Also

Rsenal-deprecated


environmentalinformatics-marburg/Rsenal documentation built on July 28, 2023, 6:09 a.m.