View source: R/calculate_depth.R
calculate_depth | R Documentation |
This function calculates depth from pressure
calculate_depth(P, p = 1023.6, g = 9.80665)
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 |
depth in m
depth = calculate_depth(11065)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.