Encode using run-length encoding

encode(x, ...)

Arguments

x

Object.

...

Additional arguments.

Value

Modified object, with data encoded into Rle class.

Examples

showMethods("encode")
#> Function: encode (package AcidGenerics) #> <No methods> #>