Guess longitude and latitude columns in a data frame
Source:R/guess_coordinate_columns.R
guess_coordinate_columns.RdAn internal function to make basemap code more readable
Arguments
- data
Dataframe containing data for which the limits should be calculated.
- lon, lat
Character defining the name of the longitude and latitude columns in
data. UseNULLto guess the longitude and/or latitude columns inx.
Details
This is an internal function, which is automatically run by the basemap function.