I got this error code while plotting a graph for a species occurrence:
Regions defined for each Polygons
Error in FUN(X[[i]], ...) : object 'group' not found
and this is my code:
ggplot()+
geom_polygon(data = land50, aes(x=long, y=lat, group=group), fill="gray")+
geom_polygon(data = svulgarisdata, aes(x=long, y=lat, group=group), fill="pink")