deg =
sm2deg (sm)
¶deg =
sm2deg (sm, radius)
¶deg =
sm2deg (sm, sphere)
¶Converts distance to angle by dividing distance by radius.
Calculates the angles deg for the distances sm in a sphere with radius (also in statute miles). If unspecified, radius defaults to 6371 km, the mean radius of Earth and is converted to statute miles internally.
Alternatively, sphere can be one of "sun", "mercury", "venus", "earth", "moon", "mars", "jupiter", "saturn", "uranus", "neptune", or "pluto", in which case radius will be set to that object mean radius.
See also: km2deg.
Package: mapping