Description Usage Arguments Value

Compute distances between single starting coordinate and vector of ending coordinates (one to many) and return vector.

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

`xlon` |
Longitude for starting coordinate pair |

`xlat` |
Latitude for starting coordinate pair |

`ylon` |
Vector of longitudes for ending coordinate pairs |

`ylat` |
Vector of latitudes for ending coordinate pairs |

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

Vector of distances 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.