Learn R Programming

tsmp (version 0.4.15)

mpx: Fast implementation of MP and MPI for internal purposes, without FFT

Description

Fast implementation of MP and MPI for internal purposes, without FFT

Usage

mpx(
  data,
  window_size,
  query = NULL,
  idx = TRUE,
  dist = c("euclidean", "pearson"),
  n_workers = 1
)

Value

Returns MP and MPI

Arguments

data

a matrix or a vector. The time series to analyze.

window_size

window size

query

query

idx

compute the profile indexes?

dist

distance measure, Euclidean or Pearson?

n_workers

threads for multi-threading

Examples

Run this code
# \donttest{
mp <- mpx(mp_toy_data$data[1:200, 1], window_size = 30)
# }

Run the code above in your browser using DataLab