Coerce all columns in the object to factor
(i.e. stringsAsFactors
).
See also
encode()
for run-length encoding (Rle) approach.
Coerce all columns in the object to factor
(i.e. stringsAsFactors
).
encode()
for run-length encoding (Rle) approach.