resampleTimeSeries: Resample time series

Description Usage Arguments Value Author(s) See Also Examples

Description

resample time series in the same object to have the same the length.

Usage

1
2
3
4
resampleTimeSeries(object, length = NULL)

## S4 method for signature 'twdtwTimeSeries'
resampleTimeSeries(object, length = NULL)

Arguments

object

an object of class twdtwTimeSeries.

length

An integer. The number of samples to resample the time series. If not declared the length is set to the length of the longest time series.

Value

An object of class twdtwTimeSeries whose time series have the same number of samples (points).

Author(s)

Victor Maus, vwmaus1@gmail.com

See Also

twdtwTimeSeries-class, and twdtwApply

Examples

1
2
3
4
5
# Resampling time series from objects of class twdtwTimeSeries
patt = twdtwTimeSeries(patterns.list)
npatt = resampleTimeSeries(patt, length=46)
nrow(patt)
nrow(npatt)


Search within the dtwSat package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.