Func.matrix: A function to create the distance matrix for alphabets

Description Usage Arguments Value Examples

View source: R/TSMining.R

Description

This function create a distance matrix for alphabets used for SAX transformation

Usage

1

Arguments

a

is an integer specifying the alphabet size.

Value

The function returns a matrix showing the distance between alphabets

Examples

1

Example output

     a    b    c    d    e
a 0.00 0.00 0.59 1.09 1.68
b 0.00 0.00 0.00 0.50 1.09
c 0.59 0.00 0.00 0.00 0.59
d 1.09 0.50 0.00 0.00 0.00
e 1.68 1.09 0.59 0.00 0.00

TSMining documentation built on May 2, 2019, 3:54 p.m.