climapalette: Climatic Colour Codes for Vegetation Types

Description Usage Arguments Value Author(s) Examples

Description

Function finds RGB colour codes for vegetation types using three variables. Choosing climatic variables matching the parameter names gives maximum values to equatorial rainforest with abundant rains, equitable non-continental temperature and high temperature.

Usage

1
climapalette(type, humidity, continentality, temperature)

Arguments

type

Community type.

humidity, continentality, temperature

Environmental variables used for red, green and blue in colours.

Value

RGB colours for classes plus attributes that give the order of classes in each colour (rorder, gorder, border). The attributes help in making nicely ordered legends.

Author(s)

Jari Oksanen

Examples

1
2
3
data(climaveg)
clr <- with(climaveg, climapalette(sagetype, -PEratio, Cont, -PET))
with(climaveg, plot(lon, lat, pch=15, cex=0.3, asp=1, col = clr[sagetype]))

jarioksa/biogeo documentation built on May 18, 2019, 3:47 p.m.