test: An example data set for univariate motif discovery

Description Usage Format Examples

Description

The data is a data frame containing 100 observations and 2 variables. The first time series is denoted as TS1. It is created in such a way that two motifs are embedded, each with two appearances and a length of 10. The rest are randomly generated. The second time series is denoted as TS2. It is created in such a way that one motif with three appearances are embedded. It has a length of 20. The rest are randomly generated. This synthetic data set is used as examples for motif discovery

Usage

1

Format

A data frame with 100 rows and 2 variables

Examples

1
2
3
4
library(ggplot2)
data(test)
ggplot(data = test, aes(x = 1:dim(test)[1], y = TS1)) + geom_line() + geom_point()
ggplot(data = test, aes(x = 1:dim(test)[1], y = TS2)) + geom_line() + geom_point()

Example output



TSMining documentation built on May 2, 2019, 3:54 p.m.