Description Usage Arguments Value Author(s) Examples
Creates nice looking color palettes from Microsoft PowerBI
pbi_pal
makes the color palettes from Microsoft PowerBI available
as R palettes. Names of 19 palettes are as follows:
classic
default
city park
classroom
colorblind safe
electric
high contrast
sunset
twilight
highrise
executive
frontier
innovate
bloom
tidal
temperature
solar
divergent
storm
1 |
palette |
A palette name from |
direction |
Sets the order of colours in the scale. If -1, the order of colours is reversed. Defaults to 1 |
A function with paramater n
, number of colors required from
the palette name
palette
Keyur Shah
1 | pbi_pal("default", direction = 1)(10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.