My first thought was the odometer() function, which is often useful for tasks like this. To my surprise it is not a part of the current R. I wonder why? It shouldn't be an Splus copyright issue as this was a part of my original S distribution (before Splus even existed), and used in an example in one of the early books. Terry T
______________________________________________ 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.