Skip to contents

Coerce all columns in the object to factor (i.e. stringsAsFactors).

Usage

factorize(object, ...)

Arguments

object

Object.

...

Additional arguments.

Value

Modified object. All columns will be coerced to factor.

See also

encode() for run-length encoding (Rle) approach.

Examples

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