SearchSTMotifs {STMotif} | R Documentation |
SearchSTMotifs
Description
Search for Spatial-time Motifs
Usage
SearchSTMotifs(D, DS, w, a, sb, tb, si = 3, ka = 3)
Arguments
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) |
Value
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
Examples
#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)
[Package STMotif version 2.0.2 Index]