guide_color2 | R Documentation |
Generate diverging two party discrete color guide
guide_color2(parties, colorcodes, numbers)
parties |
a list of two characters |
colorcodes |
a list of two character vectors with equal length. Each element value represents the discrete colors of a party |
numbers |
the cut numbers. If each party has 5 colors, then there will be 6 cut numbers. |
a html tag
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.