calculateStratificationIndex | R Documentation |
This function calculates the stratification index, which is defined as the difference in density between two defined depths divided by the difference in the two depths. The calculation completes two iterations. The first is between the two defined depths, and then if the calculated value is less than 0, the depth range is slightly increased.
calculateStratificationIndex(ctd, depth1, depth2, debug = TRUE)
ctd |
a |
depth1 |
a numeric value, such that depth1 < depth2 |
depth2 |
a numeric value, such that depth2 > depth1 |
debug |
a logical value indicating if debug info should be displayed |
a single row data frame with relevant information for easy output use
Chantelle Layton and Benoit Casault
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.