Description Usage Arguments Details Value Author(s) Examples
This function calculates reconstruction error.
1 |
data |
matrix or data frame consisting of spatial locations with two columns. Each row represents longitude and latitude. |
line |
longitude and latitude of a line as a matrix or data frame with two columns. |
This function calculates reconstruction error from the data to the line. Longitude should range from -180 to 180 and latitude from -90 to 90. This function requires to load 'geosphere' R package.
summation of squared distance from the data to the line on the unit sphere.
Jongmin Lee
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.