https://github.com/cran/dtw
Tip revision: ff075ba9620acd6aa919bd37fddb17ed16590aa8 authored by Toni Giorgino on 21 August 2019, 21:10:05 UTC
version 1.21-1
version 1.21-1
Tip revision: ff075ba
dtw-internal.R
###############################################################
# #
# Author: Toni Giorgino <toni.giorgino,gmail.com> #
# Istituto di Neuroscienze (IN-CNR) #
# Consiglio Nazionale delle Ricerche #
# www.isib.cnr.it #
# #
# $Id$
# #
###############################################################
##
## $Id$
##
## Internal functions for the dtw package.
## Not to be used by the user.
#' Internal dtw Functions
#'
#' Internal dtw functions
#'
#' These are not to be called by the user. Frontend to the DTW package is the
#' \code{\link{dtw}} function.
#'
#' @name dtw-internal
#' @aliases backtrack dtwpairdist globalCostMatrix
#' @keywords internal
NULL
## Function applying dtw and only returning the
## distance
dtwpairdist <- function(...) {
dtw(distance.only=TRUE,...)$distance;
}