I am trying to create an occurrence map of a plant species using the latitude and longitude data collected from the field. However, I am getting stuck at running the codes in 'R'. can anybody please help me in troubleshooting this?
Here is the error message I found
Error in FUN(X[[i]], ...) : object 'longitude' not found
As Technocrat said, R is case sensitive, if the variables in your data frame are capitalized you have to type them the same way in your ggplot code. The previous line should be:
geom_point(mapdata = Occurrence_data, aes(x = Longitude, y = Latitude), color = "blue", alpha = 0.5) +
This map shows the entire world view. However, if I want to project only on one particular region of the world, for instance, some states of India, then how to add that one?