temp_autocor: Interpolate observations

Description Usage Arguments Value

View source: R/summary_stats.R

Description

Calculate the autocorrelation of the observations based on their timestamps, with interpolation (based on a specified method) if necessary.

Usage

1
temp_autocor(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 acf

Value

Autocorrelation of the observation vector.


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