factor_var: Unordered Categorical Variable

Description Usage Arguments Details Value Examples

View source: R/variables.R

Description

Formal description of an unordered categorical variable

Usage

1

Arguments

name

character, the name of the variable

desc

character, a description of what is measured

levels

character, the levels of the factor

Details

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

Value

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

Examples

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

variables documentation built on May 31, 2017, 4:48 a.m.

Search within the variables package
Search all R packages, documentation and source code