Learn R Programming

SpaDES (version 1.3.1)

getColors: Get colours for plotting Raster* objects.

Description

Get colours for plotting Raster* objects.

Usage

getColors(object)

# S4 method for Raster getColors(object)

# S4 method for ANY getColors(object)

# S4 method for SpatialPoints getColors(object)

Arguments

object

A Raster* object.

Value

Returns a named list of colors.

See Also

setColors<-, brewer.pal