powered by
A range index can be used to extract or replace a continuous ascending part of the data
ri(from, to = NULL, maxindex=NA) # S3 method for ri print(x, …)
first position
last posistion
an object of class 'ri'
the maximal length of the object-to-be-subscripted (if known)
further arguments
A two element integer vector with class 'ri'
as.hi.ri
# NOT RUN { bit(12)[ri(1,6)] # }
Run the code above in your browser using DataLab