Description Usage Arguments Details Fields and Methods Author(s) References See Also
Package: R.colors
Class DichromatColorFilter
Object
~~|
~~+--
ColorFilter
~~~~~~~|
~~~~~~~+--
DichromatColorFilter
Directly known subclasses:
public static class DichromatColorFilter
extends ColorFilter
Color filter emulating dichromatic color blindness.
1 | DichromatColorFilter(type=c("deutan", "protan"))
|
type |
A |
This color filter requires that the dichromat
package [1] is
installed. The easiest way to install this is by calling
install.packages("dichromat")
.
Color blindness: 1) Protanope (L-cone - red cone cells defective), 2) Deuteranope (M-cone - green cone cells defective), and 3) Tritanope (S-cone - blue cone cells defective).
For a dichromat safe color palette, see [4].
To modify an image such that its colors are more accessable to color blind people see [3].
Methods:
getColors | - | |
Methods inherited from ColorFilter:
getColors
Methods inherited from Object:
$, $<-, [[, [[<-, as.character, attach, attachLocally, clearCache, clone, detach, equals, extend, finalize, gc, getEnvironment, getFields, getInstantiationTime, getStaticInstance, hasField, hashCode, ll, load, objectSize, print, registerFinalizer, save
Henrik Bengtsson, but all credits to Thomas Lumley who wrote the
dichromat
package, which this class utilizes.
[1] Thomas Lumley, R package dichromat
, CRAN.
http://cran.r-project.org/.
[2] Vischeck, webpage, 2003. http://www.vischeck.com/
[3] Daltonize, webpage, 2003. http://www.vischeck.com/daltonize/
[4] Masataka Okabe and Kei Ito,
Barrier-free presentation that is friendly to colorblind,
http://jfly.iam.u-tokyo.ac.jp/html/color_blind/
See also the dichromat
package [1].
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.