This function expands ranges by some value. Used in my dissertation code for axis ranges.
range %expanded_by% expansion
A numeric vector. The highest and lowest values will be used as the range.
A number. This number will be added to the highest and subtracted from the lowest values of the range
A list of length 2
c(1,5) %expanded_by% 1
#> [1] 0 6