Skip to content
Prev 308261 / 398503 Next

uniq -c

In addition, adding a factor method for isFirstInRun speeds it up on
long factor variables by c. 60%.

isFirstInRun.factor <- function(x)isFirstInRun(as.integer(x))

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com