I am using ggmap to create a map with points. The size of the point reflects the value of the variable.
mapPoints <- ggmap(map) +
geom_point(aes(x = Lat, y = Lon, size = KaskoAntal),
data = mydata, alpha = .7, colour = "#E32B2E") +
scale_size(range = c(2, 15))
The map looks good, but I would like to change a few things. I tried a lot of tutorials, but I haven't been able to find a solution to my the below issues:
1) I would like to change the legend heading "KaskoAntal" to something else
2) I would like to format the numbers with thousand separator
3) Right now, the legend shows the following scale / bubble size: 100, 200, 300, 400. How can I control the scale?
Any help / leads are greatly appreciated.