R-beta: rainbow

Ennapadam Venkatraman (VENKAT@biosta.mskcc.org)
25 Jul 97 10:25:00 EST


Message-Id: <199707251430.QAA13217@hypatia.math.ethz.ch>
Date: 25 Jul 97 10:25:00 EST
From: "Ennapadam Venkatraman" <VENKAT@biosta.mskcc.org>
Subject: R-beta: rainbow
To: "r-help" <r-help@stat.math.ethz.ch>

Looks like the function rainbow has a bug in it.

   > rainbow(8)
    [1] "#FF0000" "#FFBF00" "#7FFF00" "#00FF3F" "#00FFFF" "#003FFF" "#7F00FF"
    [8] "#FF00BF"
   > rainbow(10)
    [1] "#FF0000" "#FF9900" "#CBFF00" "#32FF00" "#00FF66" "#00FFFF" "#0065FF"
    [8] "#3300FF" "#CC00FF" "#FF0098"
   > rainbow(11)
    [1] "#FF0000" "#FF8B00" "#E7FF00" "#5CFF00" "#00FF2E" "#00FFB9" "#00B9FF"
    [8] "#002EFF" "#5C00FF" "#E700FF" "#FF008B"
   > rainbow(12)
   Error: invalid color intensity
   > rainbow(15)
   Error: invalid color intensity


E. S. Venkatraman

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=