slicer: Recognise Multiple Patterns in a sinlge time series

Description Usage Arguments Details Value Examples

View source: R/interpreter.R

Description

Break time series data into smaller 'windows' and pass them to the interpret function. The results are summarised in the output. For details, run interpret on specific windows only.

Usage

1
slicer(data, length, step = 1, useriq = FALSE, ...)

Arguments

data

Time series Data

length

Length of the 'windows'

step

Number of Data Points between windows

useriq

User-built recognition function. Set to FALSE if using inbuilt recognition capabilities. Refer to the readme or the report on how to build your own recognition function

...

Parameters passed on to either the inbuilt or external recognition function. Check iq for the parameters.

Details

For an overview of the package capabilities, click here rpatrec

Value

A list containing:

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
#Generate 2 HS patterns
a <- c(generator(),generator())
#recognise both HS patterns
#set window size to 100, step size to 100
#switch off recognition for all patterns other than HS
slicer(data = a, length = 100, step = 100, hsiq=TRUE, btpiq=FALSE, rtpiq=FALSE, dtpiq=FALSE)

## End(Not run)

rpatrec documentation built on May 1, 2019, 11:17 p.m.