Description Usage Arguments Details Value Note Author(s) See Also Examples
Encode a matrix as run-length, top down. Encoding respects previous runs, e.g line 2 encodes runs in each run of line 1.
1 |
x |
a matrix. |
collapseNA |
boolean. Collapse runs of NA. |
By default, different NA data are not considered equal. collapseNA
collapses runs of NA in the result. For
recursion however they are treated as singular data, not as runs. This may need discussion.
list of run length encoded lines
This could go to rle
in package base
.
The date structure used for rle
would be better represented as a data.frame.
Run length and other compressions might be implemented in data.frames by default.
Günther Sawitzki <gsawitzki@users.r-forge.r-project.org>
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.