av_apply: Corrects the matrix profile using an annotation vector

Description Usage Arguments Value References See Also Examples

View source: R/annotations.R

Description

This function overwrites the current Matrix Profile using the Annotation Vector. Use with caution.

Usage

1
av_apply(.mp)

Arguments

.mp

A Matrix Profile with an Annotation Vector.

Value

Returns the input .mp object corrected by the embedded annotation vector.

References

See Also

Other Annotation vectors: av_complexity(), av_hardlimit_artifact(), av_motion_artifact(), av_stop_word(), av_zerocrossing()

Examples

1
2
3
4
5
data <- mp_test_data$train$data[1:1000]
w <- 50
mp <- tsmp(data, window_size = w, verbose = 0)
mp <- av_complexity(mp)
av <- av_apply(mp)

franzbischoff/tsmp documentation built on March 9, 2020, 6:01 a.m.