Learn R Programming

dtwclust (version 2.1.1)

reinterpolate: Wrapper for simple linear reinterpolation

Description

This function is just a wrapper for the native function approx to do simple linear reinterpolation.

Usage

reinterpolate(ts, newLength)

Arguments

ts
A time series.
newLength
Desired length of the output series.

Value

  • Reinterpolated time series