View source: R/profile_calcs.R
profile_bld_from_t | R Documentation |
Based on the temperature recorded at a specified difference from the maximum depth for a profile.
profile_bld_from_t(
temperature,
z,
ref_dist_from_max = 4,
min_temperature_diff = 0.5,
temp_threshold = 0.25,
na_rm = TRUE
)
temperature |
Numeric vector of temperatures |
z |
Numeric vector of depths for each of the temperatures |
ref_dist_from_max |
Numeric vector of distances from the maximum depth to use for the reference temperature. |
min_temperature_diff |
Minimum temperature difference. If the difference in temperatures between the reference depths and shallow depths. If the difference is below this threshold, the function returns the minimum depth (i.e. column is considered fully mixed). |
temp_threshold |
Threshold temperature difference. |
na_rm |
Should NA values be omitted? |
Sean Rohan
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.