Description Usage Arguments Value Author(s) References Examples
Calculates the Cartesian cordinates (x,y,z) from lat long in radians
1 | ll2cart(latr, longr)
|
latr |
latitude point in radians |
longr |
longtitude point in radians |
dataframe of x,y,z
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 5 | lat <- runif (200,-24,-12)
long <- runif (200,43,51)
thepoints <- data.frame(lat,long)
llrad <- deg2rad(thepoints)
cartp <- ll2cart(llrad$lat,llrad$long)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.