This minor change proposes two improvements:
1) Allows user to specify a gradient of semi-transparent colors which will be incorporated in colorNumeric (by adding alpha = TRUE argument).
2) Fixes bug which prevented users from specifying a colorNumeric function as the gradient argument.
This minor change proposes two improvements: 1) Allows user to specify a gradient of semi-transparent colors which will be incorporated in
colorNumeric
(by addingalpha = TRUE
argument). 2) Fixes bug which prevented users from specifying acolorNumeric
function as thegradient
argument.