Get the longitude from a Coordinate or a GreatCircle object in the indicated units (degrees or radians)
1 2 3 4 5 6 7 8 9 10 11 12 13 | getLongitude(coordinate, units = "degrees")
## Default S3 method:
getLongitude(coordinate,
units = "degrees")
## S3 method for class 'Coordinate'
getLongitude(coordinate,
units = "degrees")
## S3 method for class 'GreatCircle'
getLongitude(coordinate,
units = "degrees")
|
coordinate |
a coordinate class |
units |
a string with the units (degrees or radians) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.