Description Usage Arguments Value Author(s) References Examples
Calculates the "true" centre of gravity (weighted) from a set of lat longs, using cartesian geometry
1 | trueCOGll(thepoints)
|
thepoints |
set of points c(lat,long) |
a point (lat,long) from centre
Justin Moat. J.Moat@kew.org
Descartes, R., 1637. Discours de la methode. A Leyde, De l’imprimerie de I. Maire, Paris.
1 2 3 4 | lat <- runif (200,-24,-12)
long <- runif (200,43,51)
ll <- data.frame(lat,long)
cp <- trueCOGll(ll)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.