getBearing: Extract bearing from a GreatCircle

Description Usage Arguments References

Description

Get the bearing from a GreatCircle object in the indicated units (degrees or radians)

Usage

1
2
3
4
5
6
7
8
9
  getBearing(coordinate, units = "degrees")

  ## Default S3 method:
 getBearing(coordinate,
    units = "degrees")

  ## S3 method for class 'GreatCircle'
 getBearing(coordinate,
    units = "degrees")

Arguments

coordinate

a GreatCircle class

units

a string with the units (degrees or radians)

References

http://www.movable-type.co.uk/scripts/latlong.html


drodriguezperez/whereiam documentation built on May 15, 2019, 2:42 p.m.