Please, I am having issues using biwavelet package in R. I have a data frame consisting of date(col1) and oil price (col2) stockp(col3). After importing the data using read table

Mydata= read.table("c:/Hamid/wave/data.text,header=T)

Date=as.date(mydata$date)

oilp= cbind(date,mydata$price)

Stockp= cbind(date,mydata$stock)

nrands=10

WTC.Ab= wtc(oilp, stockp,nrands=nrands)

I got the error " Error in r[i1] - r[-lenght(r):-(length(r) - lag + 1l)]:

Non-numeric argument to binary operator.

More Hamid Muili's questions See All
Similar questions and discussions