Free Access Week - Data Engineering + BI
Data engineering and BI courses are free!
Free Access Week - Jun 2-8

variables (version 1.1-1)

factor_var: Unordered Categorical Variable

Description

Formal description of an unordered categorical variable

Usage

factor_var(name, desc = NULL, levels, ...)

Value

An object of class factor\_var inheriting from var with corresponding methods.

Arguments

name

character, the name of the variable

desc

character, a description of what is measured

levels

character, the levels of the factor

...

ignored

Details

A conceptual description of a (yet) unobserved unordered categorical variable.

Examples

Run this code

  factor_var("eye", "eye color", c("blue", "brown", "green", "grey", "mixed"))

Run the code above in your browser using DataLab