Description Usage Arguments Value Note
Generates color palettes for PurpleAir synoptic data with the intention of having a reproducible functional color generator.
1 | pas_palette(pas = NULL, paletteName = "AQI", parameter = "pm25_1hr", ...)
|
pas |
Enhanced data frame of PurpleAir synoptic data. |
paletteName |
A predefined color palette name. Can be of the following:
|
parameter |
Value to generate colors for, e.g. |
... |
Additional arguments passed on to |
An object that consists of a label and color dataframe, and calculated color values from PurpleAir sensors
The paletteName
parameter can take the name of an RColorBrewer
paeltte, e.g. "BuPu"
or "Greens"
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.