powered by
Formal description of an unordered categorical variable
factor_var(name, desc = NULL, levels, ...)
character, the name of the variable
character, a description of what is measured
character, the levels of the factor
ignored
An object of class factor\_var inheriting from var with corresponding methods.
factor\_var
var
A conceptual description of a (yet) unobserved unordered categorical variable.
# NOT RUN { factor_var("eye", "eye color", c("blue", "brown", "green", "grey", "mixed")) # }
Run the code above in your browser using DataLab