Description Usage Arguments Value Examples
Get index of the minimum value from a matrix profile and its nearest neighbor
1 | min_mp_idx(.mp, n_dim = NULL, valid = TRUE)
|
.mp |
a |
n_dim |
number of dimensions of the matrix profile |
valid |
check for valid numbers |
returns a matrix
with two columns: the minimum and the nearest neighbor
1 2 3 4 | w <- 50
data <- mp_gait_data
mp <- tsmp(data, window_size = w, exclusion_zone = 1 / 4, verbose = 0)
min_val <- min_mp_idx(mp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.