Description Usage Arguments Value
View source: R/calculate_salinity.R
Calculate salinity from conductivitity and temperature, using equations from UNESCO 1983. Taken from James Douglass's Excel sheet.
1 | calculate_salinity(cond, temp, ref_cond = 42.9)
|
cond |
(numeric) Numeric vector of conductivity values in miliSeimens/m^2/s. |
temp |
(numeric) Numeric vector of temperature values in degree Celsius. |
ref_cond |
(numeric) Reference conductivity value, defaults to 42.9 for conductivity measured in miliSeimens/m^2/s. |
(numeric) Vector of salinity values calculated from each pair of cond and temp values in input vectors. Unit varies depend on unit for conductivity, defaults to PSU.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.