Subsample a matrix of time series.

tsubsample(x, target = NA, interval = NA)

Arguments

x

a matrix

target

target

interval

interval

Value

the subsampled time series matrix

Details

Subsample the given time series matrix down to a target time point number using equal intervals or select the time points with the given interval. Assumes that time points are columns and time points are equidistant.