resample: resample A simple wrapper for approx, used to decimate or...

resampleR Documentation

resample A simple wrapper for approx, used to decimate or upsample (by linear interpolation) a time series

Description

resample A simple wrapper for approx, used to decimate or upsample (by linear interpolation) a time series

Usage

resample(x, newSampRate, ...)

Arguments

x

A rats object

newSampRate

the new frequency

...

further options to be passed to approx

Value

a resampled time-series with the same start of the original time series.


kleinbub/rIP documentation built on Dec. 21, 2024, 9:15 a.m.