Description Usage Arguments Value Examples
Search for Spatial-time Motifs
1 | SearchSTMotifs(D, DS, w, a, sb, tb, si = 3, ka = 3)
|
D |
Dataset containing numeric values |
DS |
Dataset containing SAX encoded values |
w |
Word Size |
a |
Number of letters to do the encode |
sb |
"Space slice" Number of columns in each block |
tb |
"Time slice" Number of rows in each block |
si |
Support of Global Occurrence (GO) |
ka |
Support for Spatial Occurrence (SO) |
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
1 2 3 4 | #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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.