Matrix r4655
Loading...
Searching...
No Matches
Functions
t_rle.c File Reference

Go to the source code of this file.

Functions

SEXP Matrix_RLE_ (SEXP x_, SEXP force_)
 RLE (Run Length Encoding) – only when it's worth.
 

Function Documentation

◆ 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.