showDichromat | R Documentation |
Show colors using dichromat color blindness adjustment
showDichromat(
x,
type = c("deutan", "protan", "tritan"),
sep = "\n",
spacer = TRUE,
original = TRUE,
do_plot = TRUE,
...
)
x |
|
type |
|
sep |
|
spacer |
|
original |
|
do_plot |
|
... |
additional arguments are ignored. |
This function is a very simple wrapper around jamba::showColors()
which also applies one of the color blindness emulations from
dichromat::dichromat()
.
Other colorjam display:
color_pie()
showDichromat(jam_linear["firebrick"])
showDichromat(jam_linear[1:2])
showDichromat(jam_linear[7:9])
showDichromat(jam_linear, type="tritan", spacer=FALSE)
showDichromat(jam_linear, type="tritan", spacer=FALSE, original=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.