R/sw_beta.R

## -----------------------------------------------------------------------------
## Haline Contraction Coefficient of Seawater
## -----------------------------------------------------------------------------

sw_beta <- function (S = 35, t = 25, p = P-1.013253, P = 1.013253) {

   -sw_gibbs(S, t, p, dS = 1, dt = 0, dp = 1) / 
     sw_gibbs(S, t, p, dS = 0, dt = 0, dp = 1)
}

Try the marelac package in your browser

Any scripts or data that you put into this service are public.

marelac documentation built on Sept. 25, 2023, 5:06 p.m.