Learn R Programming

TSclust (version 1.3.2)

diss.FRECHET: Frechet Distance

Description

Computes the Frechet distance between time series.

Usage

diss.FRECHET(x, y, ...)

Value

The computed distance.

Arguments

x

Numeric vector containing the first of the two time series.

y

Numeric vector containing the second of the two time series.

...

Additional parameters for the function. See link[longitudinalData]{distFrechet}.

Details

This is basically a wrapper for distFrechet of the "longitudinalData" package, intended for an easier discovery of the functionalities used in TSclust.

See Also

diss, link[longitudinalData]{distFrechet}

Examples

Run this code
## Create three sample time series
x <- cumsum(rnorm(100))
y <- cumsum(rnorm(100))
diss.FRECHET(x, y)

Run the code above in your browser using DataLab