Skip to content
Prev 376808 / 398502 Next

Requesting for help on the problem of "subscript out of bounds"

What I would do next is to insert a line to see where it goes wrong:

for (i in 1:N){
     cat("i =",i,"\n")
     r[i]<-approx_entropy(ts[i,], edim = 2, r = 0.2*sd(ts[i,]), elag = 1)
}

The last i that is printed (which may be the first) will reveal what
caused the error I hope.

Jim

On Sat, Oct 6, 2018 at 7:12 PM Subhamitra Patra
<subhamitra.patra at gmail.com> wrote: