subSampleRle | R Documentation |
Subsets an Rle object.
subSampleRle(x, idx)
x |
an object of the class Rle. |
idx |
an integer vector specifying which indices to keep. |
Returns a subset of an Rle object as an integer or numeric vector.
Rehrauer, Hubert
Schmid, Peter
rleobj = Rle(c(1, 1, 1, 2, 2, 3, 2, 2))
subSampleRle(rleobj, 1:8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.