powered by
Search for Spatial-time Motifs
SearchSTMotifs(D, DS, w, a, sb, tb, si = 3, ka = 3)
Return a list of identified motifs. Each motif contains the information [isaxcode, recmatrix, vectst], as described:
isaxcode: Motif sequences in character format
recmatrix: Matrix giving as information the blocks containing this motif
vectst: Coordinate of the start positions of the motif in the original dataset
Dataset containing numeric values
Dataset containing SAX encoded values
Word Size
Number of letters to do the encode
"Space slice" Number of columns in each block
"Time slice" Number of rows in each block
Support of Global Occurrence (GO)
Support for Spatial Occurrence (SO)
#Search for Spatial-time Motifs D <- STMotif::example_dataset DS <- NormSAX(STMotif::example_dataset,5) stmotifs <- SearchSTMotifs(D,DS,4,5,4,10,2,2)
Run the code above in your browser using DataLab