TSclust (version 1.2.4)

diss.FRECHET: Frechet Distance

Description

Computes the Frechet distance between time series.

Usage

diss.FRECHET(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.

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

Value

The computed distance.

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
# NOT RUN {
## 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