In R, fixup defaults to TRUE. We need some equivalent to this (but faster, hopefully, at least using binary search):
function fixup(c) {
while (!c.displayable()) --c.c;
return c;
}
This makes a pretty big difference if you want to, say, emulate ggplot2’s hue color scale.
In R, fixup defaults to TRUE. We need some equivalent to this (but faster, hopefully, at least using binary search):
This makes a pretty big difference if you want to, say, emulate ggplot2’s hue color scale.