convert_salinity: Convert between salinity units-ppt, psu

Description Usage Arguments Value

View source: R/convert_salinity.R

Description

Convert between salinity units–ppt, psu

Usage

1
convert_salinity(x, from, to)

Arguments

x

A vector of numbers to be converted.

from

A character vector of the units x is in. Must be length 1 or same length as x.

to

A character vector of the units into which x will be converted. Must be length 1 or same length as x.

Value

A vector of numbers converted FROM old units TO new units.


mattreusswig/convertUnits documentation built on March 23, 2020, 5:26 a.m.