Spectral colors palette based on the RColorBrewer::brewer.pal(11,"Spectral")
spectralcolors(n)
number of colors
a palette, i.e. a list of colors, from dark blue to dark red over pale yellow.
# NOT RUN { (cls=spectralcolors(20)) # }
Run the code above in your browser using DataCamp Workspace