You are absolutely correct Marc; thank you for making this assumption!

While it will take some time for me to rightfully understand the logical
ordering of your proposed function, it certainly seems to produce the result
I was looking for, and economically at that.  rle is indeed highly useful in
this context!

Cheers
Tyler

-- 
View this message in context: 
http://www.nabble.com/NOT-SO-SIMPLE-function%21-tp17607348p17610783.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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