Skip to content
Prev 256235 / 398506 Next

Avoiding a loop

Use 'diff' to determine where the changes are:
[1] 0 0 1 1 0 1 1 1 1 0 0 0 1 0 1 0 1 1 0 1 1 0 1 0 0 0 0 0 1 0
[1]  4  9 13 15 18 21 23 29
then use the indices for the other processing.
On Thu, Apr 7, 2011 at 10:30 PM, Worik R <worikr at gmail.com> wrote: