will be helpful for those in need As ever, the answer is 42. EDIT: Oh, alright, I admit that sometimes the answer to questions on SO is 'Emacs'.
Value-based color scheme for year-by-year histograms in R
By : DevinK
Date : March 29 2020, 07:55 AM
Does that help Using ggplot, to control the color, the easiest way is to get a variable into the data frame which indicates which group it is a part of (the within or outside reference range group). This can be accomplished by a series of steps. First, for each case, match up the appropriate limits based on the year.