The n-vector framework uses the normal vector to
the Earth ellipsoid (called n-vector) as a non-singular position
representation that turns out to be very convenient for practical
position calculations. The n-vector is simple to use and gives exact
answers for all global positions, and all distances, for both
ellipsoidal and spherical Earth models. This package is a translation
of the 'Matlab' library from FFI, the Norwegian Defence Research
Establishment, as described in Gade (2010)
The nvctr package implements the n-vector approach to geographical
position calculations using an ellipsoidal model of Earth as described
in (Gade 2010).
Implementations in various computer languages can be found at the n-vector page (Navigation Group 2010).
You can install the development version of nvctr from
GitHub with:
devtools::install_github("euctrl-pru/nvctr")
or the CRAN version (when this package will land to CRAN):
install.packages("nvctr")
nvctr can be used to solve geographical position calculation like
(example numbers refer to the ones in the
vignette):
Gade, Kenneth. 2010. “A Non-Singular Horizontal Position Representation.” In Journal of Navigation, vol. 63. no. 3. https://doi.org/10.1017/S0373463309990415.
Navigation Group, FFI. 2010. The N-Vector Page. https://www.ffi.no/en/research/n-vector/.