Hi experts,

I want to user haar wavelet transform. If I am using this simple command,
it works nice:

k<-c(1,2,3,4,5,6,7,8)
ywd<-wd(k,filter.number=1,family="DaubExPhase")

but if the K is a list like this:

*[[1]]*
*[1] 401*
*
*
*[[2]]*
*[1] 481*
*
*
*[[3]]*
*[1] 480*
*
*
*[[4]]*
*[1] 482*
*
*
*[[5]]*
*[1] 395*
*...*
*
*
it doesnt work and I get this error:

Error in wd(k, filter.number = 1, family = "DaubExPhase") :
 * Data is not atomic*
*
*
how can I solve this problem?how can I convert this list to a normal list?

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to