Newbie R question:
I currently use the standard blue-red palette for plotting a correlation plot:
> col<- colorRampPalette(c("blue", "white", "red"))(20)
but my data only covers a R value or ~0.2 to 1, hence white is set at ~0.4, which is misleading.
How do I select only "some blue and all red" of the spectrum, still with 20 divisions?
Undesired scale colours & associated plot: https://ibb.co/Hx6bzdM