Hi!
I am trying to change the color of the geom_point in my plot for the variable -concentration
summary(dat$concentration)
Min. 1st Qu. Median Mean 3rd Qu. Max.
0.5502 5.2628 12.2493 21.4695 27.4057 205.3170
mp <- NULL
mapWorld <- borders("world", colour="black", fill="white") # create a layer of borders
mp <- ggplot() + mapWorld
mp
m1<-mp+ geom_point(data=dat, aes(x=lon, y=lat,color=concentration),alpha=0.6, size=2.5)+
scale_colour_gradient2("concentration levels", low = "seashell1", mid = "lightsalmon3",
high = "tomato4", midpoint = 21, space = "Lab",
na.value = "grey50", guide = "colourbar")
m1
I want it to look something like that
Any ideas?
thank you!