Transparent equivalent of given color

后端 未结 5 1399
温柔的废话
温柔的废话 2020-12-23 19:11

I\'ve had this a few times, so here goes: I\'m making some plots which hold curves with estimates of a parameter given a tuning parameter.

Typically, I also have SDs

5条回答
  •  失恋的感觉
    2020-12-23 19:49

    There is a function adjustcolor in grDevices package, that works like this in your case:

        adjustcolor( "red", alpha.f = 0.2)
    

提交回复
热议问题