Learn R Programming

STMotif (version 2.0.2)

display_motifsSTSeries: Plot the selected spatial-time series with the selected motifs highlighted

Description

Plot the selected spatial-time series with the selected motifs highlighted

Usage

display_motifsSTSeries(dataset, rstmotifs, space = c(1:length(dataset)))

Value

Selected spatial series with the selected motifs highlighted

Arguments

dataset

Dataset containing numeric values

rstmotifs

List of ranked motifs

space

Select a range of columns to plot the corresponding spatial series

Examples

Run this code
#Launch all the workflow
#Plot the result
D  <- STMotif::example_dataset
DS <- NormSAX(STMotif::example_dataset,5)
stmotifs <- SearchSTMotifs(D,DS,4,5,4,10,2,2)
rstmotifs <- RankSTMotifs(stmotifs)
display_motifsSTSeries(dataset = STMotif::example_dataset,rstmotifs[c(1:4)],space = c(1:4,10:12))

Run the code above in your browser using DataLab