Creates a *leaflet* color palette function that can be used to convert monitoring data into vectors of colors.
Palette style, one of 'aqi'.
Logicial specifying whether the colors (or color function) in palette should be used in reverse order.
A function that takes a single parameter x; when called with a vector of numbers, #RRGGBB color strings are returned.
1 2 3
Loading required package: dplyr Attaching package: ‘dplyr’ The following objects are masked from ‘package:stats’: filter, lag The following objects are masked from ‘package:base’: intersect, setdiff, setequal, union Loading required package: maps Loading required package: MazamaCoreUtils Loading required package: MazamaSpatialUtils Loading required package: sp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.