# NOT RUN {
## Create three sample time series
x <- cumsum(rnorm(100))
y <- cumsum(rnorm(100))
z <- sin(seq(0, pi, length.out=100))
## Compute the distance and check for coherent results
diss.INT.PER(x, y, normalize=TRUE)
diss.INT.PER(x, y, normalize=TRUE)
diss.INT.PER(x, y, normalize=TRUE)
# }
# NOT RUN {
diss( rbind(x,y,z), "INT.PER", normalize=FALSE )
# }
Run the code above in your browser using DataCamp Workspace