Learn R Programming

VPdtw (version 2.2.1)

print.VPdtw: Print VPdtw

Description

Print VPdtw

Usage

# S3 method for VPdtw
print(x, ...)

Value

Numeric vector from the summary slot in the VPdtw

object specified by x.

Arguments

x

A VPdtw object generated by VPdtw.

...

Additional argument.

Examples

Run this code
query <- c(1,5,4,3,9,8,5,2,6,5,4)
reference <- c(rnorm(5), query, rnorm(5))
lambda <- rep(0, length(reference))
maxshift <- 11
res <- VPdtw(reference, query, lambda, maxshift)
print(res)

Run the code above in your browser using DataLab