Description Usage Arguments Value

View source: R/calculate_spherical_distance.R

Calculate the spherical distance between two coordinates

1 2 |

`long1` |
Longitude of point 1 |

`lat1` |
Latitude of point 1 |

`long2` |
Longitude of point 2 |

`lat2` |
Latitude of point 2 |

`km` |
Express distance in kilometers |

`miles` |
Express distance in miles |

`meters` |
Express distance in meters |

`feet` |
Express distance in feet |

The spherical distance between point 1 and point 2.

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.