factor_var | R Documentation |
Formal description of an unordered categorical variable
factor_var(name, desc = NULL, levels, ...)
name |
character, the name of the variable |
desc |
character, a description of what is measured |
levels |
character, the levels of the factor |
... |
ignored |
A conceptual description of a (yet) unobserved unordered categorical variable.
An object of class factor\_var
inheriting from var
with
corresponding methods.
factor_var("eye", "eye color", c("blue", "brown", "green", "grey", "mixed"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.