createTimePalette: Create a Colour Palette for Time Service Results

Description Usage Arguments Value

View source: R/times.R

Description

Create a Colour Palette for Time Service Results

Usage

1
createTimePalette(palette, type, maxTime, bins, reverse)

Arguments

palette

A colour palette e.g. "viridis", "Blues"

type

Either "numeric" or "bin"

maxTime

The maximum time value to consider

bins

Either a single number of bins, or a vector of cut points.

reverse

Whether to reverse the colour palette.

Value

A colour palette function for use with the time legend and markers


TargomoR documentation built on Dec. 7, 2019, 1:07 a.m.