Displaying 1 result from an estimated 1 matches for "12345abcdefgh12345abcdefgh".
2009 May 24
2
how to implement a circular buffer with R
Some wavelet analysis experts have implemented periodic boundary conditions for signals.
I need to implement a circular buffer. Something like:
"12345abcdefgh12345abcdefgh"
so that at each step the riightmost element is moved to the leftmost index and everything else is properly shifted:
"h12345abcdefgh12345abcdefg", "gh12345abcdefgh12345abcdef", ....
My implementation (still debugging) seems to start working but is terribly clumsy.
I am...