gravity {oce} | R Documentation |
Compute g, the acceleration due to gravity, as a function of latitude.
gravity(latitude = 45, degrees = TRUE)
latitude |
Latitude in degN or radians north of the equator. |
degrees |
Flag indicating whether degrees are used for latitude; if set
to |
Value not verified yet, except roughly.
Acceleration due to gravity [m^2/s].
Dan Kelley
Gill, A.E., 1982. Atmosphere-ocean Dynamics, Academic Press, New York, 662 pp.
Caution: Fofonoff and Millard (1983 UNESCO) use a different formula.
g <- gravity(45) # 9.8