intervalsToSeq.matrix {R.utils} | R Documentation |
Generates a vector of indices from a matrix of intervals.
## S3 method for class 'matrix': intervalsToSeq(fromTo, sort=FALSE, unique=FALSE, ...)
fromTo |
An Nx2 integer matrix . |
sort |
If TRUE , the returned indices are ordered. |
unique |
If TRUE , the returned indices are unique. |
... |
Not used. |
Henrik Bengtsson (http://www.braju.com/R/)
## Not run: See example(seqToIntervals)