interpolate_single | R Documentation |
interpolate between stick-up heights for a single sensor
interpolate_single(x, t_bnds, change_only = T, method = "linear")
x |
a dataframe containing, at a minimum, the columns 'corrected_utc_time' and 'numeric_value'. These are the points used to perform the interpolation |
t_bnds |
a POSIXct vector containing values for every timestep for which an estimate of the sensor offset is desired. |
change_only |
logical, whether or not to return the raw stick-up height values, or to return the net change from the first reported stick-up height |
method |
one of ('linear', 'constant') the interpolation method to be passed to approx() |
a numeric vector of the same length as t_bnds which gives an interpolated sensor offset for each timestep.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.