char_to_factor: Converts Characters to Factors in an Object
Description
Converts characters to factors in an object. Leaves
non-factor elements untouched.
Usage
char_to_factor(X, inplace = FALSE, ...)
Arguments
X
an object.
inplace
boolean; if TRUE the object is
modified in place. Useful if you're modifying a list and
don't want to force a copy, but be wary of other symbols
pointing as the same data.