Description Usage Arguments Value
Interpolates linearly ( or cubic spline) between model temperatures and extracts modelled temperatures at the same depths as observed temperatures or at specified depths.
1 2 | setmodDepths(mod.val, mod.dep, obs = NULL, depths, method = "linear",
print = T)
|
mod.val |
dataframe of modelled values loaded using load.3d |
mod.dep |
dataframe of depths of corresponding modelled values loaded using load.depths and corrected using normDepths() |
obs |
dataframe of observations loaded in using load_obs. Default = NULL |
depths |
vector; Depths at which to extract observed temperature (negative). Used instead of extracting depths from obs dataframe. |
method |
character determining method for extracting depths at interpolated temperatures. Either linear interpolation or cubic spline. Defaults to linear. |
print |
logical; Print a progress bar to the console. Defaults to TRUE |
data frame in the long format the same as load.obs(). With modelled values at the same depths as observed values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.