
swTSrho(salinity, density, pressure, eos=getOption("eos", default='unesco'))
"unesco"
or
"teos"
. If the latter, then the computer must have the TEOS
library installed; see teos
.Gill, A.E., 1982. Atmosphere-ocean Dynamics, Academic Press, New York, 662 pp.
swSTrho
temperature <- swTSrho(35, 23, 0)
Run the code above in your browser using DataLab