Description Usage Arguments Value Author(s) Examples
Moves multiple 'continents' (which are temporarily or permanently joined) by their midpoints keeping them exactly the same distance from one another so that they behave as a single unit
1 | MoveTogether(centers, pole, angle, EarthRad = 6367.4447)
|
centers |
A matix with columns corresponding to continent central positions in degrees. Row 1 for longitude row 2 for latitude. Or a long lat vector for a single continent. |
pole |
A vector of the long lat of the pole of rotation |
angle |
The angle of rotation about the pole in degrees |
EarthRad |
Earth radius in kilometres. |
a matix of the new long lat in degrees of the centers of each continent after moving
Laura C. Soul lauracsoul@gmail.com
1 2 3 | centers<-rbind(c(40, -50, -170), c(34, -60, 79))
pole<-c(90, -20)
MoveTogether(centers, pole, angle = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.