Coverts latitude and longitude to a grid reference and/or easting and northing.
Arguments
- latitude
a vector of numerics giving latitudes
- longitude
a vector of numerics giving longitudes
- out_projection
a string giving the desired output projection, either
"OSGB"or"OSNI". Defaults to"OSGB".- return_type
a string defining what information the funtion should return. If
"both"(default), grid reference and easting/northing are returned. If"en", only easting and northing are returned. Ifgr, only grid reference is returned
