Description Usage Arguments Details Value Note Examples

Calculates the maximum pairwise great circle distance from a set of decimal degree coordinates

1 | ```
GCD(longs, lats)
``` |

`longs` |
- Longitudinal coordinates of occurrences in decimal degrees |

`lats` |
- Latitudinal coordinates of occurrences in decimal degrees |

Because this function does not account for the possibility that a taxa may wrap around more than half the Earth the maximum value is half the circumference of the Earth, approximately 20,038 kilometers.

Returns the maximum great circle distance in kilometers

The great circle distance can be extracted from the result of a minium spanning tree calcualation MSTDist() if available to avoid redundant calculations

1 2 3 |

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.