Go to the source code of this file.
|
SEXP | Matrix_RLE_ (SEXP x_, SEXP force_) |
| RLE (Run Length Encoding) – only when it's worth.
|
|
◆ Matrix_RLE_()
SEXP Matrix_RLE_ |
( |
SEXP | x_, |
|
|
SEXP | force_ ) |
RLE (Run Length Encoding) – only when it's worth.
- Parameters
-
x_ | R vector which can be coerced to "double" / "integer" |
force_ | R logical indicating if the result must be "RLE" even when inefficient |
- Returns
- NULL or a valid R object of class "rle"
Definition at line 37 of file t_rle.c.
References c.