how to color a qualitative gradient with R (using independent categories / multiple dimensions)

前端 未结 2 851
栀梦
栀梦 2021-01-21 10:24

sorry if i\'m missing something fundamental about how colorRampPalette and brewer.pal work, but how can you create a qualitative color gradient based o

2条回答
  •  难免孤独
    2021-01-21 11:15

    i believe that something like this is the solution, although i can't believe there isn't a smarter way to do it.

    https://stackoverflow.com/a/26573256/1759499

提交回复
热议问题