Last data update: 2014.03.03

R: Range index
riR Documentation

Range index

Description

A range index can be used to extract or replace a continuous ascending part of the data

Usage

ri(from, to = NULL, maxindex=NA)
## S3 method for class 'ri'
print(x, ...)

Arguments

from

first position

to

last posistion

x

an object of class 'ri'

maxindex

the maximal length of the object-to-be-subscripted (if known)

...

further arguments

Value

A two element integer vector with class 'ri'

Author(s)

Jens Oehlschl<c3><a4>gel

See Also

as.hi.ri

Examples

 bit(12)[ri(1,6)]

Results