| oceProject {oce} | R Documentation |
This function is used to isolate other oce functions from changes to the map-projection functions that are done in the sf package. (Until 2020 December, the rgdal package was used, after a year of tests ensuring that the results of the two packages were the same.)
oceProject(xy, proj, inv = FALSE, debug = getOption("oceDebug"))
xy |
two-column numeric matrix specifying locations. If |
proj |
character string indicating the desired map projection, or an object of class |
inv |
logical value, False by default, indicating whether an inverse projection is requested. |
debug |
an integer specifying whether debugging information is
to be printed during the processing. This is a general parameter that
is used by many |
A two-column matrix, with first column holding either
longitude or x, and second column holding either
latitude or y.