Hybrid Index, rle-pack utilities
rlepack(x, ...) ## S3 method for class 'integer' rlepack(x, pack = TRUE, ...) rleunpack(x) ## S3 method for class 'rlepack' rleunpack(x) ## S3 method for class 'rlepack' rev(x) ## S3 method for class 'rlepack' unique(x, incomparables = FALSE, ...) ## S3 method for class 'rlepack' anyDuplicated(x, incomparables = FALSE, ...)
x |
in 'rlepack' an integer vector, in the other functions an object of class 'rlepack' |
... |
just to keep R CMD CHECK quiet (not used) |
pack |
FALSE to suppress packing |
incomparables |
just to keep R CMD CHECK quiet (not used) |
A list with components
first |
the first element of the packed sequence |
dat |
either an object of class |
last |
the last element of the packed sequence |
Jens Oehlschlägel
x <- rlepack(rep(0L, 10))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.