genPalette: Generate a colour palette for the wmts

Description Usage Arguments Details

View source: R/genPalette.R

Description

Generate a colour palette for the wmts

Usage

1
genPalette(brk, crp, lowerTransparent = TRUE)

Arguments

brk

list of break values between classes, including the upper and lower limits

crp

a colorRampPalette used for generating the colors for each class

lowerTransparent

logical - should the lowest class be transparent

Details

Generates a data frame of breaks and Hex colour codes. Values above the upper limit are treated as having colour NA


waternumbers/wmts documentation built on Dec. 23, 2021, 5:08 p.m.