guess_coordinate_columns {ggOceanMaps} | R Documentation |
Guess longitude and latitude columns in a data frame
Description
An internal function to make basemap
code more readable
Usage
guess_coordinate_columns(data, lon = NULL, lat = NULL)
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 |
Details
This is an internal function, which is automatically run by the basemap
function.
Value
A named vector of colummn names.
Author(s)
Mikko Vihtakari
See Also
auto_limits
, transform_coord
, basemap
[Package ggOceanMaps version 2.2.0 Index]