I have a data frame with a small number of coordinate locations, but several observations at each location. I want to plot each observation, but since the coordinates are the same, they overlap. Example data is provided below
library(ggplot2)
data <- data.frame(lon = c(rep(-100, 15), rep(-98, 10), rep(-96, 8)),
lat = c(rep(50, 15), rep(58, 10), rep(46, 8)),
n = runif(33, 0, 300))
ggplot(data=data, aes(x=lon, y=lat, color=n)) +
geom_point()
Instead of having the points overlap, I want all of them to be clustered around the lat-lon coordinates provided. I have tried using jitter, however, the points are too scattered. I am looking for them to be in a (somewhat) circular cluster. How would I go about this?
Thanks!



