envinmrPalette: Environmental Informatics Marburg colour palette

envinmrPaletteR Documentation

Environmental Informatics Marburg colour palette

Description

this function updates existing spplot objects so that i) the axes are drawn at all four sites (as these usually represent coordinates), ii) the default colorpalette from envinmr.theme() is used and ii) the colorkey is plotted on top of the graph so that the main = ... argument can be used to describe the colorkey.

Usage

envinmrPalette(n)

Arguments

n

the number of colours to be created

Author(s)

Tim Appelhans

See Also

colorRampPalette

Examples

rst <- raster::raster(volcano)

p1 <- spplot(rst)
p1

p2 <- envinmrRasterPlot(p1, col.regions = envinmrPalette(100))
p2


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