interpolate_obs: Interpolate observations

Description Usage Arguments Value

View source: R/summary_stats.R

Description

Interpolate observations based on their timestamps and a method.

Usage

1
interpolate_obs(obs, times, interp_method = forecast::na.interp, ...)

Arguments

obs

the time series of numeric observations

times

numeric or Date vector of timestamps of the observations.

interp_method

character a function used to interpolate obs. Defaults to na.interp.

...

further arguments to be passed to the interpolation method

Value

Interpolated observation vector.


weecology/MATSS documentation built on May 15, 2020, 7:03 p.m.