I'm trying to use the function colorRampPalette
in the newest R software 3.6.2. When I try to install it I get the warning message that this package is not available for this version of R. This is the palette I want
scale_colour_gradientn(name=variable,
colours=colorRampPalette(rev(c("red","yellow","springgreen","royalblue")))(50),
na.value="white")}
Does anyone have a suggestion for an equivalent function. Or another way to get this package?