# Calculate the absolute salinity of a sample whose practical Salinity is 35,
# depth is 10 dbar and location is 188 degrees East and 4 degrees North.
SA <- sp2sa_geo(35, 10, 188, 4) # 34.711778344814114
Run the code above in your browser using DataLab