| latitude | R Documentation |
These functions convert OSGB (Ordnance Survey of Great Britain) coordinates, i.e. Transverse Mercator easting and northing coordinates,
for example, as provided by the UK Biobank.
latitude returns latitude values and longitude returns longitude values.
latitude(data, easting, northing)
longitude(data, easting, northing)
data |
a data frame containing OSGB coordinates |
easting |
a numeric vector of easting coordinates |
northing |
a numeric vector of northing coordinates |
A numeric vector of latitude or longitude values.
osgb <- data.frame(east = c(393000, 461000, 438000), north = c(287000, 223000, 565000))
latitude(osgb, east, north)
longitude(osgb, east, north)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.