Hi Muhammad,
You may be using the "mra" function in the "waveslim"
package. At a
wild guess, if "valq" is a vector or time series, it is too short to
use J=8. Try smaller values for J to see if this is the problem.
Otherwise ask your teacher.
Jim
On Tue, Jun 7, 2022 at 2:50 AM Muhammad Zubair Chishti
<mzchishti at eco.qau.edu.pk> wrote:>
> *Hi, Dear Respected Professors! I hope that you are doing well. *
> Kindly help me regarding the following:
> When I run the following code in R
> d1=as.data.frame(mra(valq, wf = "la8", J = 8, method =
"modwt", boundary > "periodic"))
> I face the following error
> Error in modwt(x, wf, J, "periodic") : wavelet transform exceeds
sample
> size in modwt
>
> Kindly help me to fix it.
>
> Regards
> Muhammad Zubair Chishti
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.