ucred_fv {rucrdtw}R Documentation

UCR ED Algorithm file-vector method

Description

Sliding-window similarity search using Euclidean Distance. This implementation of the UCR Suite command line utility, takes a data file as input and an R numeric vector for the query.

Usage

ucred_fv(data, query)

Arguments

data

character; path to data file

query

numeric vector containing query

Value

a ucred object. A list with the following elements

Examples

#locate example data file
dataf <- system.file("extdata/col_sc.txt", package="rucrdtw")
#read example query file into vector
query <- scan(system.file("extdata/mid_sc.txt", package="rucrdtw"))
#run query
ucred_fv(dataf, query)

[Package rucrdtw version 0.1.6 Index]