geodXyInverse | R Documentation |
The calculation is done by finding a minimum value of a cost
function that is the vector difference between (x
,y
)
and the corresponding values returned by geodXy()
.
See “Caution”.
geodXyInverse(x, y, longitudeRef, latitudeRef, debug = getOption("oceDebug"))
x |
value of x in metres, as given by |
y |
value of y in metres, as given by |
longitudeRef |
reference longitude, as supplied to |
latitudeRef |
reference latitude, as supplied to |
debug |
an integer specifying whether debugging information is
to be printed during the processing. This is a general parameter that
is used by many |
The minimum is calculated in C for speed, using the nmmin
function
that is the underpinning for the Nelder-Meade version of the R function
optim()
. If you find odd results, try setting debug=1
and rerunning, to see whether this optimizer is having difficulty
finding a minimum of the mismatch function.
a data frame containing longitude
and latitude
This scheme is without known precedent in the literature, and users should read the documentation carefully before deciding to use it.
Other functions relating to geodesy:
geodDist()
,
geodGc()
,
geodXy()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.