Description Usage Arguments Value Author(s) See Also Examples

Maximum great-circle distance between points at lat-long coordinates. This is not computationally efficient. For large datasets, consider pages like http://stackoverflow.com/a/16870359.

1 | ```
maxEarthDist(lat, long, data, r = 6371)
``` |

`lat, long, data` |
Coordinates for |

`r` |
radius for |

Single number

Berry Boessenkool, berry-b@gmx.de, Jan 2017

1 2 3 4 5 6 7 8 9 10 11 | ```
d <- read.table(header=TRUE, text="
x y
9.19 45.73
6.55 58.13
7.71 71.44")
plot(d, asp=1, pch=as.character(1:3))
earthDist(y,x,d, i=2)
earthDist(y,x,d, i=3)
maxEarthDist(y,x,d)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.