Learn R Programming

leaflet (version 2.0.3)

previewColors: Color previewing utility

Description

Color previewing utility

Usage

previewColors(pal, values)

Arguments

pal

A color mapping function, like those returned from colorNumeric, et al

values

A set of values to preview colors for

Value

An HTML-based list of the colors and values