hmo_xsax {harbinger}R Documentation

Motif discovery using xsax

Description

Motif discovery using xsax doi:10.1007/s10618-007-0064-z

Usage

hmo_xsax(a, w, qtd)

Arguments

a

alphabet size

w

word size

qtd

number of occurrences to be classified as motifs

Value

hmo_xsax object

Examples

library(daltoolbox)

#loading the example database
data(har_examples)

#Using example 15
dataset <- har_examples$example15
head(dataset)

# setting up motif discovery method
model <- hmo_xsax(37, 3, 3)

# fitting the model
model <- fit(model, dataset$serie)

detection <- detect(model, dataset$serie)

# filtering detected events
print(detection[(detection$event),])


[Package harbinger version 1.0.767 Index]