morgenstemning
An R package for generating colorblind-safe color palettes. Ported from MATLAB code accompanying the article
M. Geissbuehler and T. Lasser, How to display data by color schemes compatible with red-green color perception deficiencies, Opt. Express 21, 9862-9874 (2013) (doi:10.1364/OE.21.009862)
available from the EPFL Laboratoire d'Optique Biomedicale website.
Licence information
These colormaps are free software: you can redistribute and/or modify them under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. These colormaps are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
As well as ported MATLAB code, this package also includes some MATLAB-derived functions for cubic spline fitting taken from the pracma package, which is also licenced under GPL-3.