https://github.com/cran/dtw
Tip revision: ece68f6f6896952ec018d3f9a1c330569c2ce0bb authored by Toni Giorgino on 17 June 2009, 00:00:00 UTC
version 1.13-1
version 1.13-1
Tip revision: ece68f6
dtw-internal.R
###############################################################
# #
# Author: Toni Giorgino <toni.giorgino@gmail.com> #
# Laboratory for Biomedical Informatics #
# University of Pavia - Italy #
# www.labmedinfo.org #
# #
# $Id: dtw-internal.R 94 2008-01-08 16:44:46Z tonig $
# #
###############################################################
##
## $Id: dtw-internal.R 94 2008-01-08 16:44:46Z tonig $
##
## Internal functions for the dtw package.
## Not to be used by the user.
## Function applying dtw and only returning the
## distance
dtwpairdist <- function(...) {
dtw(distance.only=TRUE,...)$distance;
}