calculate_depth: Calculate depth from pressure

View source: R/calculate_depth.R

calculate_depthR Documentation

Calculate depth from pressure

Description

This function calculates depth from pressure

Usage

calculate_depth(P, p = 1023.6, g = 9.80665)

Arguments

P

pressure in hectopascals

p

water density for seawater is 1023.6kg/m3 and freshwater 997.0474 kg/m3

g

gravitational field strength default 9.80665 m/s2

Value

depth in m

Examples

depth = calculate_depth(11065)


KiranLDA/PAMLr documentation built on March 6, 2023, 1:40 p.m.