This function performs the approximated projection for each data.
matrix or data frame consisting of spatial locations with two columns. Each row represents longitude and latitude.
longitude and latitude of line as a matrix or data frame with two columns.
This function returns the nearest points in
line for each point in the data.
The function requires to load the 'geosphere' R package.
matrix consisting of spatial locations with two columns.
Hauberg, S. (2016). Principal curves on Riemannian manifolds. IEEE Transactions on Pattern Analysis and Machine Intelligence, 38, 1915-1921.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.