R color palettes for many data classes

后端 未结 7 1451
广开言路
广开言路 2020-12-02 19:17

Are there any good packages for colour palettes in R that can handle many data classes? I have 16 sequential data classes. I tried RColorBrewer but it has a max of 9 data cl

7条回答
  •  -上瘾入骨i
    2020-12-02 20:05

    The 'pals' package has several different palettes that are each designed to have distinct colors. Here are the available palettes:

    library(pals)
    pal.bands(alphabet, alphabet2, cols25, glasbey, kelly, polychrome, 
      stepped, tol, watlington,
      show.names=FALSE)
    

提交回复
热议问题