guide_color2: Generate diverging two party discrete color guide

View source: R/html.R

guide_color2R Documentation

Generate diverging two party discrete color guide

Description

Generate diverging two party discrete color guide

Usage

guide_color2(parties, colorcodes, numbers)

Arguments

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.

Value

a html tag


tpemartin/econIDV documentation built on July 2, 2023, 7:36 p.m.