Description Usage Arguments Value

Compute distance between two points (one to one) and return single value.

1 | ```
dist_1to1(xlon, xlat, ylon, ylat, dist_function = "Haversine")
``` |

`xlon` |
Longitude for starting coordinate pair |

`xlat` |
Latitude for starting coordinate pair |

`ylon` |
Longitude for ending coordinate pair |

`ylat` |
Latitude for ending coordinate pair |

`dist_function` |
String name of distance function: Haversine, Vincenty |

Distance in meters

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.