The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

colorrepel: Repel Visually Similar Colors for Colorblind Users in Various Plots

Iterate and repel visually similar colors away in various 'ggplot2' plots. When many groups are plotted at the same time on multiple axes, for instance stacked bars or scatter plots, effectively ordering colors becomes difficult. This tool iterates through color combinations to find the best solution to maximize visual distinctness of nearby groups, so plots are more friendly toward colorblind users. This is achieved by two distance measurements, distance between groups within the plot, and CIELAB color space distances between colors as described in Carter et al., (2018) <doi:10.25039/TR.015.2018>.

Version: 0.3.0
Depends: R (≥ 3.5.0)
Imports: grDevices, matrixStats, Matrix, distances, stats, dqrng, gtools, purrr, dplyr, stringr, ggplot2, ggrepel, ggalt, plotly, knitr, png
Suggests: colorspace
Published: 2024-09-29
DOI: 10.32614/CRAN.package.colorrepel
Author: Rui Fu ORCID iD [cre, aut, cph]
Maintainer: Rui Fu <raysinensis at gmail.com>
License: MIT + file LICENSE
URL: https://github.com/raysinensis/color_repel
NeedsCompilation: no
Citation: colorrepel citation info
Materials: README NEWS
CRAN checks: colorrepel results

Documentation:

Reference manual: colorrepel.pdf

Downloads:

Package source: colorrepel_0.3.0.tar.gz
Windows binaries: r-devel: colorrepel_0.3.0.zip, r-release: colorrepel_0.3.0.zip, r-oldrel: colorrepel_0.3.0.zip
macOS binaries: r-release (arm64): colorrepel_0.3.0.tgz, r-oldrel (arm64): colorrepel_0.3.0.tgz, r-release (x86_64): colorrepel_0.3.0.tgz, r-oldrel (x86_64): colorrepel_0.3.0.tgz
Old sources: colorrepel archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=colorrepel to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.