Learn R Programming

leaflet (version 2.2.2)

previewColors: Color previewing utility

Description

Color previewing utility

Usage

previewColors(pal, values)

Value

An HTML-based list of the colors and values

Arguments

pal

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

values

A set of values to preview colors for