File: ri.Rd

package info (click to toggle)
r-cran-bit 4.0.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 996 kB
  • sloc: ansic: 5,083; makefile: 6
file content (43 lines) | stat: -rw-r--r-- 724 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bit.R
\name{ri}
\alias{ri}
\alias{print.ri}
\title{Range index}
\usage{
ri(from, to = NULL, maxindex = NA)

\method{print}{ri}(x, ...)
}
\arguments{
\item{from}{first position}

\item{to}{last posistion}

\item{maxindex}{the maximal length of the object-to-be-subscripted (if
known)}

\item{x}{an object of class 'ri'}

\item{\dots}{further arguments}
}
\value{
A two element integer vector with class 'ri'
}
\description{
A range index can be used to extract or replace a continuous ascending part
of the data
}
\examples{

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

}
\seealso{
\code{\link[ff]{as.hi}}
}
\author{
Jens Oehlschlägel
}
\keyword{classes}
\keyword{logic}