Learn R Programming

TargomoR (version 0.2.0)

createTimePalette: Create a Colour Palette for Time Service Results

Description

Create a Colour Palette for Time Service Results

Usage

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