Description Usage Arguments Details Value
Optimize stkmod function within depth interval
1 |
profin |
|
sigdiff |
numeric of density difference beyond which the model is estimated |
expand |
numeric for expansion factor to increase resolution of search |
plot |
logical if the model is plotted |
This function finds the optimal value for strt
in stkmod
that minimizes RMSE for the stick model. The function will return the maximum depth value in profin
if the range of seawater densities is less than sigdiff
, implying no stratification.
The profin
data frame must have two columns for depth (binmd
) and seawater density (sig
).
The depth of the mixing layer if plot = FALSE
, otherwise a plot of the stick model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.