What happens if you switch the colors in this line:
scale_fill_gradient2(low = "#E94A26", mid = "white", high = "#A1D385",
midpoint = 0.5) +
to be the following
scale_fill_gradient2(low = "# A1D385", mid = "white", high = "# E94A26",
midpoint = 0.5) +
That said, a red-green heat map may be
I am working with a heat map, as in the REPREX below. The code works
fine as long as "bigger numbers imply greener and smaller numbers imply
redder". These are time series where bigger numbers are "better", like
total employment for example. But I also have cases within the heat map
where "bigg
2 matches
Mail list logo