Description Usage Arguments Value Examples
View source: R/st_assign_colors.R
Bin numeric data and assign colors for plotting
1 2 3 4 5 6 7 8 9 | st_assign_colors(
starsObj1,
attrOf1,
starsObj2,
attrOf2,
terciles,
bounds = NULL,
palette = NULL
)
|
starsObj1 |
a stars object |
attrOf1 |
which attribute of starsObj1 should be considered? |
starsObj2 |
a stars object |
attrOf2 |
which attribute of starsObj2 should be considered? |
terciles |
should terciles be calculated? |
bounds |
if custom bounds/levels are desired, default NULL |
palette |
see Vizumap::build_palette if a custom palette is desired |
a data frame of the attributes, factor levels, and color (in hexadecimal)
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.