On 07/06/2013 18:59, Bryan Hanson wrote:
Hello Core Folk.
This is the R-devel list. Bug reports/enhancement suggestions should go
to bugs.r-project.org.
Quite by accident I discovered today that col2rgb, when fed factors, acts on
the integer representation of those factors:
td -
Hello Core Folk.
Quite by accident I discovered today that col2rgb, when fed factors, acts on
the integer representation of those factors:
td - as.factor(rainbow(5)) # not how I discovered the issue!
td
res - col2rgb(td)
res
# but
col2rgb(#FFFF) # this is td[1] but does not produce the same