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

1 2 3 4 | ```
resampleTimeSeries(object, length = NULL)
## S4 method for signature 'twdtwTimeSeries'
resampleTimeSeries(object, length = NULL)
``` |

`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. |

An object of class `twdtwTimeSeries`

whose
time series have the same number of samples (points).

Victor Maus, vwmaus1@gmail.com

`twdtwTimeSeries-class`

, and
`twdtwApply`

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)
``` |

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

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