intervalsToSeq.matrix

0th

Percentile

Generates a vector of indices from a matrix of intervals

Generates a vector of indices from a matrix of intervals.

Keywords
methods, attribute
Usage
## S3 method for class 'matrix':
intervalsToSeq(fromTo, sort=FALSE, unique=FALSE, ...)
Arguments
fromTo
An Nx2 integer matrix.
sort
If TRUE, the returned indices are ordered.
unique
If TRUE, the returned indices are unique.
...
Not used.
See Also

seqToIntervals().

Aliases
  • intervalsToSeq.matrix
  • intervalsToSeq.matrix
Examples
See example(seqToIntervals)
Documentation reproduced from package R.utils, version 1.6.0, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.