wavelet analysis

I have been doing wavelet analysis using biwavelet package. When i ran this code i am getting an error.

data <- read.csv('/home/abhi/Documents/data.csv')
t1 = cbind(1:798, data$Date)
t2 = cbind(1:798, data$Velocity)
nrands = 10
wtc.AB= wtc(t1,t2,nrands=nrands)

Error i am getting;

Error in r[i1] - r[-length(r):-(length(r) - lag + 1L)] :
non-numeric argument to binary operator

please help

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.