diss.EUCL: Euclidean Distance

Description Usage Arguments Value See Also Examples

View source: R/diss.R

Description

Computes Euclidean distance between time series.

Usage

1
diss.EUCL(x, y)

Arguments

x

Numeric vector containing the first of the two time series.

y

Numeric vector containing the second of the two time series.

Value

The computed distance.

See Also

diss, dist

Examples

1
2
3
4
## Create three sample time series
x <- cumsum(rnorm(100))
y <- cumsum(rnorm(100))
diss.EUCL(x, y)

Example output

Loading required package: wmtsa
Loading required package: pdc
Loading required package: cluster
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE 
3: .onUnload failed in unloadNamespace() for 'rgl', details:
  call: fun(...)
  error: object 'rgl_quit' not found 
         x
y 116.2217

TSclust documentation built on July 23, 2020, 1:07 a.m.