powered by
Resample time series in the object to have the same length.
resampleTimeSeries(object, length = NULL)# S4 method for twdtwTimeSeries resampleTimeSeries(object, length = NULL)
# S4 method for twdtwTimeSeries resampleTimeSeries(object, length = NULL)
An object of class twdtwTimeSeries whose time series have the same number of samples (points).
twdtwTimeSeries
an object of class twdtwTimeSeries.
An integer. The number of samples to resample the time series to. If not declared the length is set to the length of the longest time series.
Victor Maus, vwmaus1@gmail.com
twdtwTimeSeries-class, and twdtwApply
twdtwTimeSeries-class
twdtwApply
# Resampling time series from objects of class twdtwTimeSeries patt = twdtwTimeSeries(MOD13Q1.patterns.list) npatt = resampleTimeSeries(patt, length=46) nrow(patt) nrow(npatt)
Run the code above in your browser using DataLab