"abIndex"
class
, short for numeric
) vectors of
the kind 2:1000000
or c(0:1e5, 1000:1e6)
. Note that the current implementation details are subject to change,
and if you consider working with these classes, please contact the
package maintainers (packageDescription("Matrix")$Maintainer
).
rle
(numeric
showClass("abIndex")
ii <- c(-3:40, 20:70)
str(ai <- as(ii, "abIndex"))# note
ai # -> show() method
stopifnot(identical(-3:20,
as(abIseq1(-3,20), "vector")))
Run the code above in your browser using DataLab