Description Usage Arguments Value

View source: R/get_distances.R

Get the distance in kilometers between two points.

1 | ```
get_distances(lat1, long1, lat2, long2)
``` |

`lat1` |
Latitude in decimals |

`long1` |
Longitude in decimals |

`lat2` |
Latitude in decimals |

`long2` |
Longitude in decimals |

A numeric vector with the distance in kilometers.

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.