Vignettes and other documentation
Vignettes from package 'gsw'
gsw::gsw
Introduction to gsw
PDF
source
R code