This (v2) is a rewrite of the colorRamps
package. It now contains two
function table.ramp
and rgb.tables
that
allow easy construction of color palettes. This version contains two new
palettes similar to the Matlab default palette (matlab.like
and matlab.like2
).
I built colorRamps because I needed to use a particular palette and got
tired of sourcing in my code into every session. Now I can install and
forget. Despite using R for years, I had not noticed the alternative
colorRamp
which may suit your needs. If you want really
attractive palettes, get the RColorBrewer package from CRAN. For certain
applications the RColorBrewer palettes do not work for me, hence this
package.