R:使用boundary =“ periodic”的dwt函数返回错误

问题描述

我尝试使用dwt包中的wavelet函数来实现离散小波变换。 我使用filter =“ d14”和所有边界(reflectionperiodic)。

当我运行以下代码时,

wt <- dwt(ts(traindata),filter="d14",boundary="reflection",fast=T)

代码运行良好。但是当我运行以下代码时,

wt <- dwt(ts(traindata),boundary="periodic",fast=T)

原来是返回错误

Error in v[,i] : incorrect number of dimensions
In addition: Warning messages:
In rep(0,length = dim(Vj)[1]/2) :
  first element used of 'length.out' argument

有人可以帮我解决这个问题吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)