Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ri

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

maxindex

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

x

an object of class 'ri'

...

further arguments

Value

A two element integer vector with class 'ri'

Author(s)

Jens Oehlschlägel

See Also

Examples

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

bit

Classes and Methods for Fast Memory-Efficient Boolean Selections

v4.0.4
GPL-2 | GPL-3
Authors
Jens Oehlschlägel [aut, cre], Brian Ripley [ctb]
Initial release
2020-08-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.