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

View source: R/mpx.R

mpxR Documentation

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
)

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

Value

Returns MP and MPI

Examples


mp <- mpx(mp_toy_data$data[1:200, 1], window_size = 30)


tsmp documentation built on Aug. 21, 2022, 1:13 a.m.