powered by
Fast implementation of MP and MPI for internal purposes, without FFT
mpx( data, window_size, query = NULL, idx = TRUE, dist = c("euclidean", "pearson"), n_workers = 1 )
Returns MP and MPI
a matrix or a vector. The time series to analyze.
matrix
vector
window size
query
compute the profile indexes?
distance measure, Euclidean or Pearson?
threads for multi-threading
# \donttest{ mp <- mpx(mp_toy_data$data[1:200, 1], window_size = 30) # }
Run the code above in your browser using DataLab