Encode using run-length encoding

encode(x, ...)

Arguments

x

Object.

...

Additional arguments.

Value

Modified object, with data encoded into Rle class.

Examples

class(encode)
#> [1] "nonstandardGenericFunction" #> attr(,"package") #> [1] "methods"