Learn R Programming

tagtools (version 0.2.0)

sound_speed: Sound speed estimation

Description

This function is used to estimate the sound speed using Coppens equation

Usage

sound_speed(temperature, D = NULL, S = NULL)

Value

The sound speed in m/s

Arguments

temperature

The temperature in degrees C

D

(optional) The depth in meters (defaults to 1 m)

S

The salinity in part-per-thousand (defaults to 35 ppt)

Examples

Run this code
sound_speed(8, 1000, 34)

Run the code above in your browser using DataLab