Learn R Programming

yamlet (version 0.5.3)

factorize_codelist.character: Coerce Character with Codelist to Factor

Description

Coerces character with codelist attribute to factor. If attribute 'codelist' is missing, unique values of x are supplied.

Usage

# S3 method for character
factorize_codelist(x, ...)

Arguments

x

character

...

ignored

Value

class 'classified' 'factor'

See Also

Other factorize_codelist: factorize_codelist.data.frame(), factorize_codelist.default(), factorize_codelist.factor(), factorize_codelist()

Examples

Run this code
# NOT RUN {
example(factorize_codelist.data.fame)
# }

Run the code above in your browser using DataLab